Intelligent marking method, printing data processing method, device and image forming apparatus
By generating a test paper description list during the test paper printing process, the inefficiency caused by the separation of test paper printing and automatic grading is solved, and efficient intelligent grading is achieved.
Patent Information
- Application Number
- CN202211386245.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-07
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2042-11-07
AI Technical Summary
In existing technologies, the printing of test papers and the automatic marking process are separate, resulting in low marking efficiency and complex and slow recognition algorithms.
During the printing process, a test paper description list is generated, recording the correspondence between the content and location of the test questions. This information is used to separate and identify the user's answers during the intelligent grading process.
By utilizing the test paper description list generated during the printing process, the number of image acquisitions and complex algorithm recognition is reduced, thus improving the efficiency of intelligent grading.
Smart Images

Figure CN115761769B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of image forming, in particular to an intelligent marking method, a printing data processing method and device, and an image forming apparatus. BACKGROUND
[0002] In the field of education, there is often a demand for automatic marking. The solution of the prior art is to collect images of paper test papers after students answer, to identify the content of the students' answers from the collected images through image recognition algorithms, and then to automatically mark based on the identified content.
[0003] The present application relates to the technical field of image forming, in particular to an intelligent marking method, a printing data processing method and device, and an image forming apparatus. SUMMARY
[0004] The embodiments of the present application provide an intelligent marking method, a printing data processing method and device, and an image forming apparatus, which improve the printing process, generate a test paper description list of the content and position of the test questions in the printing process, and use the test paper description list in the intelligent marking process to improve the marking efficiency, compared with the prior art which uses the printing process of the test paper to improve the efficiency of automatic marking.
[0005] In a first aspect, the present application provides an intelligent marking method applied to a marking terminal, and the method comprises:
[0006] obtaining a first image of a test paper answered by a user;
[0007] obtaining a test paper description list corresponding to the test paper, wherein the test paper description list is generated in the process of printing a test paper without answers, and the test paper description list is used to record the correspondence between the content and position of the test questions of the test paper;
[0008] separating the content of the answers of the user from the first image;
[0009] marking based on the test paper description list and the content of the answers of the user.
[0010] In a possible implementation manner of the first aspect, the step of separating the content of the answers of the user from the first image comprises:
[0011] determining the content and position of the test questions in the first image based on the test paper description list;
[0012] The position of the test question content in the first image is image-removed to obtain remaining content as the answer content of the user.
[0013] With reference to the first aspect, in a possible implementation, after the paper description list corresponding to the test paper is obtained, the method further includes: obtaining a test paper page image corresponding to the test paper, the test paper page image being generated by the printing terminal during printing of the un-answered test paper.
[0014] The separating of the answer content of the user from the first image includes:
[0015] Based on the test paper page image and the first image, the content of the test paper page image is taken as a background, and background removal algorithm is used for removal, and the remaining content of the first image is taken as the answer content of the user.
[0016] With reference to the first aspect, in a possible implementation, the separating of the answer content of the user from the first image includes:
[0017] According to the paper description list, the answer area of the user is determined.
[0018] The content in the answer area is taken as the answer content of the user.
[0019] With reference to the first aspect, in a possible implementation, after the answer content of the user is separated from the first image, the method further includes:
[0020] A second image containing the answer content is output.
[0021] With reference to the first aspect, in a possible implementation, the marking based on the paper description list and the answer content of the user includes:
[0022] A preset recognition algorithm is used to recognize the answer content in the second image to obtain a corresponding recognition result.
[0023] A position corresponding to the answer content in the second image is determined, and according to the position and the paper description list, the test question content corresponding to the answer content is determined.
[0024] According to the test question content, a pre-stored standard answer corresponding to the test question content is obtained.
[0025] The recognition result is compared with the pre-stored standard answer to obtain a marking result.
[0026] With reference to the first aspect, in a possible implementation manner, the adopting a preset recognition algorithm to recognize the answer content in the second image to obtain a corresponding recognition result comprises:
[0027] recognizing the text information at the preset position in the second image, and / or recognizing the mark information at the preset position in the second image to obtain a corresponding recognition result.
[0028] With reference to the first aspect, in a possible implementation manner, the intelligent marking method further comprises:
[0029] forming a mistake set based on the marking result.
[0030] In a second aspect, the present application provides a printing data processing method applied to a printing terminal, and the method comprises:
[0031] receiving a printing job for an unanswered test paper, wherein the printing job comprises a PDL language corresponding to the test paper;
[0032] parsing the PDL language to obtain a correspondence between test question content and positions of the test paper, and generating a test paper description list based on the correspondence between the test question content and the positions;
[0033] drawing a to-be-printed page according to the PDL language, and performing a printing operation on the to-be-printed page by using a printing engine.
[0034] With reference to the second aspect, in a possible implementation manner, the method further comprises: sending the test paper description list to a marking terminal or uploading the test paper description list to a preset server.
[0035] In a third aspect, the present application provides a printing data processing method applied to a printing driver, and before a printing job is sent to a printing terminal for printing, the method comprises:
[0036] receiving a printing job for an unanswered test paper;
[0037] segmenting the unanswered test paper page to obtain a plurality of segmented images;
[0038] recording text information of each segmented image, recording a position of each segmented image in the unanswered test paper page, and generating a test paper description list based on a correspondence between the text information and the positions.
[0039] In a fourth aspect, the present application provides an intelligent marking device, comprising:
[0040] a first acquisition unit configured to acquire a first image of a test paper answered by a user;
[0041] a second obtaining unit, configured to obtain a test paper description list corresponding to the test paper, the test paper description list being generated in a process of printing the unattempted test paper, and the test paper description list being used to record a correspondence between test question content and positions of the test paper;
[0042] an image processing unit, configured to separate the user's answer content from the first image;
[0043] a content processing unit, configured to mark the test paper based on the test paper description list and the user's answer content.
[0044] In a fifth aspect, the present application provides a printing data processing apparatus, comprising:
[0045] a job receiving unit, configured to receive a printing job for an unattempted test paper, the printing job containing a PDL language corresponding to the test paper;
[0046] a parsing unit, configured to parse the PDL language to obtain a correspondence between test question content and positions of the test paper, and generate a test paper description list based on the correspondence between the test question content and the positions;
[0047] a printing executing unit, configured to draw a to-be-printed page according to the PDL language, and execute a printing operation on the to-be-printed page by using a printing engine.
[0048] In a sixth aspect, the present application provides a printing data processing apparatus, comprising:
[0049] a receiving unit, configured to receive a printing job of an unattempted test paper;
[0050] a splitting unit, configured to perform a splitting process on the unattempted test paper page to obtain a plurality of split images;
[0051] a recording and generating unit, configured to record text information of each split image respectively, record positions of each split image in the unattempted test paper page, and generate a test paper description list based on a correspondence between the text information and the positions.
[0052] In a seventh aspect, the present application provides an intelligent test paper marking and printing system, comprising a printing data processing terminal and a test paper marking terminal, the printing data processing terminal is configured to execute the printing data processing method in the second aspect, the test paper marking terminal is configured to execute the intelligent test paper marking method in the first aspect, and the printing data processing terminal is a printing terminal or a terminal with a printing driver.
[0053] In an eighth aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the intelligent marking method of any one of the first aspect or the printing data processing method of any one of the second aspect when executing the program.
[0054] In a ninth aspect, the present application provides a computer readable storage medium, comprising a stored program, wherein the program controls a device where the storage medium is located to execute the intelligent marking method of the first aspect or the printing data processing method of the second aspect when the program is executed.
[0055] The intelligent marking method provided by the embodiments of the present application generates a test paper description list in the process of printing the test paper that has not been answered by the printing terminal, and the test paper description list is used to record the correspondence between the test paper content and the position. In the subsequent intelligent marking process, the first image of the test paper that has been answered by the user is acquired, the answer content of the user is separated from the first image, and then the marking is performed according to the test paper description list and the answer content of the user. Compared with the prior art, the marking is performed by using the test paper description list generated in the printing process, without the need to recognize the answer content of the user by means of a complex algorithm, and without the need to perform multiple image acquisition, thereby improving the efficiency of the intelligent marking. BRIEF DESCRIPTION OF DRAWINGS
[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0057] Figure 1a is a structural schematic diagram of an intelligent marking printing system related to the embodiments of the present application;
[0058] Figure 1b is a schematic diagram of a test paper that has not been answered by the printing terminal in the embodiments of the present application;
[0059] Figure 1c is a schematic diagram of a first image of a test paper that has been answered by a user in the embodiments of the present application;
[0060] Figure 1d is a schematic diagram of a second image containing answer content in the embodiments of the present application;
[0061] Figure 2a is a flowchart of a printing data processing method provided by the embodiments of the present application;
[0062] Figure 2b is a flowchart of printing a page by a printing engine in an embodiment of the present application;
[0063] Figure 2c is a flowchart of generating a paper description list in an embodiment of the present application;
[0064] Figure 3a is a flowchart of a printing data processing method provided in an embodiment of the present application;
[0065] Figure 3b is an image diagram of splitting a printed image of a paper by rows in an embodiment of the present application;
[0066] Figure 4 is a flowchart of an intelligent paper marking method in an embodiment of the present application;
[0067] Figure 5 is a functional block diagram of a printing data processing apparatus provided in an embodiment of the present application;
[0068] Figure 6 is a functional block diagram of a printing data processing apparatus provided in an embodiment of the present application;
[0069] Figure 7 is a functional block diagram of an intelligent paper marking apparatus provided in an embodiment of the present application;
[0070] Figure 8 is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0071] In order to better understand the technical solutions of the present application, the embodiments of the present application are described in detail below with reference to the drawings.
[0072] It should be clear that the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0073] The terms used in the embodiments of the present application are only for the purpose of describing the specific embodiments, and are not intended to limit the present application. The singular forms "a", "an" and "the" used in the embodiments of the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise.
[0074] It should be understood that the term "and / or" as used herein merely describes an associated relationship between associated objects and can represent a relationship where three conditions exist, for example, A and / or B can mean that A exists alone, A and B exist together, and B exists alone. In addition, the character " / " generally represents an "or" relationship between the associated objects before and after it.
[0075] It should be understood that although the terms first, second, third, etc. can be used in embodiments of the present application to describe terminals, these terminals should not be limited to these terms. These terms are only used to distinguish terminals from each other. For example, the first terminal can also be referred to as the second terminal, and similarly, the second terminal can also be referred to as the first terminal without departing from the scope of embodiments of the present application.
[0076] Depending on the context, the word "if" as used herein can be interpreted as meaning "when" or "upon" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrase "if determined" or "if detecting (a stated condition or event)" can be interpreted as meaning "when determined" or "in response to determining" or "when detecting (a stated condition or event)" or "in response to detecting (a stated condition or event)".
[0077] Referring to Figure 1a In an embodiment of the present application, an intelligent marking and printing system is provided. The system can combine the printing process of the test paper and the automatic marking process of the test paper to improve the efficiency of test paper marking.
[0078] In an embodiment of the present application, the intelligent marking and printing system includes a printing data processing terminal and a marking terminal. The printing data processing terminal can be a terminal with a printing driver or a printing terminal. The present embodiment takes the printing data processing terminal as an example to illustrate the printing terminal. The intelligent marking and printing system, as shown in Figure 1a includes a printing terminal 100 and a marking terminal 200. The printing terminal 100 and the marking terminal 200 are connected through a network 300.
[0079] The printing terminal 100 is an image forming device. The image forming device is a device having at least one function related to image forming, which can include but is not limited to: a printing function, a scanning function, a copying function, and a faxing function. For example: a single-function printer: an image forming device with only a printing function; a multi-function printer: an image forming device with printing, copying, scanning, and / or faxing functions, and can optionally have a number of paper trays; a digital copier: based on a copying function, with optional printing, scanning, and faxing functions, using a digital principle, outputting files in a laser printing manner, and can edit images and text as needed, with a large capacity paper tray, high memory, large hard disk, strong network support, and multi-task parallel processing capability.
[0080] The paper reviewing terminal 200 is a computer or a server, which includes a single server or a cloud server with multiple servers combined.
[0081] The network 300 can be, but is not limited to, a local area network or the Internet, etc.
[0082] In the embodiments of the present application, the printing terminal 100 is mainly used to realize the printing process of the test paper, and print the test content of the test paper on a medium such as paper, so as to provide a student user or the like in an educational scene to answer it. In one scenario, the printed test paper is as shown in Figure 1b As shown, for example, the test questions can include, but are not limited to, questions 1 to 4.
[0083] In the embodiments of the present application, in order to improve the efficiency of paper reviewing, the printing terminal 100 is also used to generate a test paper description list in the printing process, which is used to record the correspondence between the test content and the position of the test paper. The test paper description list can be used by the paper reviewing terminal 200 to reduce the algorithm complexity, reduce the image acquisition times of the user, and improve the speed, etc.
[0084] In the embodiments of the present application, the paper reviewing terminal 200 is used to realize the process of automatic paper reviewing.
[0085] The paper reviewing terminal 200 needs to obtain a first image of the test paper answered by the user when reviewing the paper. In one scenario of the present application, the user can use a mobile terminal such as a mobile phone to take a photo of the answered test paper or a terminal with a scanning device to scan the answered test paper, etc. to obtain the first image. As shown in Figure 1c The first image not only contains the original test content, but also contains the user's answer content. Taking Figure 1b questions 1 to 4 as an example, the user's answer mode can include, but is not limited to, writing the answer of the option in the parentheses of the selected question, or checking the option, etc.
[0086] The examination terminal 200 needs to obtain the paper description list during analysis and processing. The paper description list can be generated by the printing terminal 100 during printing of the paper, sent by the printing terminal 100 to the examination terminal 200 for storage, or uploaded by the printing terminal 100 to a preset server. The examination terminal 200 needs to download from the preset server during examination. The paper description list can also be generated by the printing driver when receiving a printing task.
[0087] The examination terminal 200 further separates the test question content and the user's answer content from the first image according to the paper description list. In a preferred implementation, the examination terminal 200 can determine the test question content in the first image according to the paper description list, remove the test question content as an image background from the first image, and output a second image containing only the user's answer content. As shown in Figure 1d The second image contains the user's answer content, for example, the user's answers to the multiple-choice questions 1, 2, and 4 are written as "B", "C", and "B", and for the multiple-choice question 3, the user answers by marking a checkmark.
[0088] In the embodiments of the present application, the examination terminal 200 further performs examination based on the user's answer content, specifically including: using a preset recognition algorithm to recognize the second image to obtain a corresponding recognition result, and comparing the recognition result with a pre-stored standard answer to obtain an examination result. The preset recognition algorithm can include an OCR recognition algorithm, which recognizes the text information at a preset position to obtain a corresponding recognition result, for example, the user's written answer options at the positions of the brackets at the ends of the multiple-choice questions 1, 2, and 4. The preset recognition algorithm can also include a feature image recognition algorithm, which can recognize whether the mark information of the user at the preset position is a mark corresponding to the answer, for example, by recognizing the feature image of a checkmark, it can be recognized that the user's answer to the multiple-choice question 3 is option D.
[0089] The examination terminal 200 records the user's answer content and compares it with the preset standard answer in sequence to score the user's performance, etc. In other embodiments of the present application, the examination terminal can be further functionally extended, for example, to form a mistake set for the user, etc., thereby facilitating more convenient and intelligent teaching applications for the user.
[0090] Referring to Figure 2a In one embodiment of the present application, a printing data processing method is provided, applied to a printing terminal, to improve the existing printing process, generate a paper description list during printing, and apply the paper description list to the process of intelligent examination.
[0091] The printing data processing method in this application embodiment includes:
[0092] S21, Receive a print job for an unanswered exam paper, the print job containing a PDL language corresponding to the exam paper.
[0093] Specifically, during the printing process, the printing terminal can receive print jobs from a computer connected to it. On this computer, exam papers in Word or PDF format can be downloaded from the internet, and can also be edited and saved to obtain the exam paper document. Furthermore, the printing terminal driver is installed on this computer, allowing users to send print jobs of exam paper documents to the printing terminal. When a print job is sent, the PDL (Print Script Language) of the exam paper is generated. PDL, also known as print language, can output complex pages and images. For example, in a Windows operating environment, this involves converting Windows bitmap format to PCL format code.
[0094] S22, parse the PDL language to obtain the correspondence between the test questions and their positions in the test paper, and generate a test paper description list based on the correspondence between the test questions and their positions.
[0095] In an embodiment of this application, an example of the printing terminal 100 generating a test paper description list is as follows:
[0096] Printing terminal 100 can execute print jobs based on page description languages (PDLs), such as PCL or Postscript. During the print job, the page to be printed is drawn according to the instructions in the page description language.
[0097] In one example, using PostScript as an example, for instance:
[0098] 200 300moveto
[0099] 300 400lineto
[0100] Strocke
[0101] The above statement moves the current position of the pen to the coordinate point (200, 300) and then draws a line to (300, 400).
[0102] Similarly, for the statement:
[0103] 200, 200 moveto
[0104] / Courier findfont 12scalefont setfont
[0105] (Hello) show
[0106] The "Hello" is displayed at the coordinate (200, 200) using the Courier font with the size of 12 is realized.
[0107] The principle of other page description languages is similar, which will not be described here.
[0108] The print terminal 100 can parse the statement related to drawing text to obtain the content, size, font and position information of the text to be drawn when generating the test paper description list, thereby obtaining the test paper description list. Taking the aforementioned POSTSCRIPT as an example, the "Hello" and the font, size and position information are recorded in the test paper description list.
[0109] Specifically, in an embodiment of the present application, the specific process of parsing the PDL language to generate the test paper description list can refer to Figure 2c , which includes:
[0110] S221, creating a page in the RGB space.
[0111] S222, parsing the PDL instructions one by one.
[0112] S223, determining whether the current parsed PDL instruction is a text drawing instruction.
[0113] If yes, S224 and S225 are executed, otherwise, S226 is executed.
[0114] S224, recording the font, content and position information of the text to be drawn according to the current PDL instruction.
[0115] S225, saving the recorded font, content and position information of the text in the test paper description list.
[0116] S226, drawing or setting according to the current PDL instruction.
[0117] S227, determining whether all PDL instructions are parsed.
[0118] If yes, S228 is executed, otherwise, returning to S222.
[0119] S228, saving the RGB page and the test paper description list.
[0120] S23, drawing the to-be-printed page according to the PDL language and executing printing on the to-be-printed page by using the print engine.
[0121] Specifically, in an embodiment of the present application, the process of executing printing by the print engine includes:
[0122] S231, rendering the page in RGB color space according to PDL language.
[0123] S232, converting the RGB color space into CMYK color space.
[0124] S233, color adjustment by print engine.
[0125] S234, halftone conversion processing of the page.
[0126] S235, printing the page after halftone conversion processing.
[0127] In the embodiments of the present application, after generating the test paper description list, the printing terminal sends the test paper description list to the test paper reading terminal or uploads it to a preset server.
[0128] The present application also provides a printing data processing method applied to a printing driver, as shown in the following. Figure 3a Before the printing data is sent to the printing terminal, the method comprises the following steps.
[0129] S201, receiving an unanswered test paper;
[0130] S202, performing segmentation processing on the pages of the unanswered test paper to obtain a plurality of segmented images;
[0131] The printer driver segments the pages while rendering the printing pages, for example, each page is segmented by rows, specifically, the intervals between the text rows are first identified, and the pages are segmented by rows, thus, one test paper is segmented into M parts by rows, as shown in the following. Figure 3b Further, in order to finely record the relationship between the text and the position, the test paper can also be segmented into MxN parts, that is, segmented into M parts horizontally and N parts vertically. The present embodiment does not limit the manner of segmented images, which can be determined by the person skilled in the art as needed.
[0132] It should be noted that the present method can be a method proposed for GDI printer, since the data received by the GDI printer is not PCL or POSTSCRIPT printing language, and the GDI printer itself does not have data processing capability, therefore, the present scheme can be used to install a printing driver on a PC or a mobile terminal to generate a test paper description list.
[0133] S203, recording the text information of each segmented image and the position of each segmented image in the pages of the unanswered test paper, and generating a test paper description list based on the corresponding relationship between the text information and the position.
[0134] During segmentation, unique location information (e.g., outer contour coordinates) is determined for each block, and the text information within that block is recorded. Text extraction methods can include OCR recognition, etc. The coordinates of the outer contour of each block, the text content, etc., are saved to a file, which can be called the "exam paper description list" file. After drawing a page, the print driver saves the generated image of the page and the "exam paper text description list" file.
[0135] The print driver performs additional processing on the text while drawing the page, generating a test paper description list. This description list records the text content of each segmented image in the test paper, as well as the position of the segmented image within the overall image. The text position can be the coordinates of the four vertices of the outer contour of the segmented image, the starting point, width, and height of the segmented image, or the coordinates of the bottom left and top right corners.
[0136] For example, if the test paper has "I: Single Choice Questions", the print driver will not only draw these words at the specified location on the page, but also record them in the test paper description list: LB(300, 6140)RT(1600, 6180)F(SimSun))(I: Single Choice Questions). In this way, the print driver creates a "test paper description list" to record the position of the text in the test paper while drawing the page.
[0137] See Figure 4 One embodiment of this application provides an intelligent marking method. This intelligent marking method is applied to a marking terminal, which can be a single computer terminal or a server.
[0138] The intelligent marking method in this application embodiment includes:
[0139] S31, Get the first image of the user's completed test paper;
[0140] Specifically, the marking terminal needs to acquire the first image of the user's completed exam paper during marking. In one scenario of this application, the user can acquire the first image by taking a photo of the completed exam paper using a mobile terminal such as a smartphone, or by scanning the completed exam paper using a terminal with a scanning device. For example... Figure 1c As shown, the first image contains not only the original test questions but also the user's answers. Figure 1b Taking multiple-choice questions 1 to 4 as an example, users can answer by writing the answer in parentheses in a certain position of the multiple-choice question, or by ticking the option, etc.
[0141] S32, Obtain the test paper description list corresponding to the test paper. The test paper description list is generated during the printing of unanswered test papers. The test paper description list is used to record the correspondence between the test paper's question content and position.
[0142] Specifically, the test paper description list can be generated by the printing terminal during the process of printing the test paper, or can be generated by the printing driver when printing the test paper. It can be understood that the granularity of the question content and position of the test paper recorded in the test paper description list can be set according to requirements. The test paper description list can record the position information corresponding to each character. For example, it records: LB(300, 6140)RT(650, 6180)F(Song typeface) "的", that is, it records that the character within the page coordinates LB(300, 6140)RT(650, 6180) is "的"; it can also record the position corresponding to the combined characters. For example, LB(300, 6140)RT(1600, 6180)F(Song typeface)(一:单选题), indicating that the character within the page coordinates LB(300, 6140)RT(1600, 6180) is (一:单选题). Specifically, reference can be made to the foregoing embodiments, and details will not be repeated here.
[0143] S33, separating the answer content of the user from the first image;
[0144] Specifically, the intelligent marking terminal may store an un-answered test paper image. Separating the answer content of the user from the first image can be that the intelligent marking terminal retrieves the un-answered test paper image, uses the un-answered test paper image as the background image, performs background elimination using this background image and the first image, and extracts the difference image between the first image and the un-answered test paper image. That is, the difference image records the answer content of the user.
[0145] In a preferred implementation manner, based on the test paper description list, the question content and position in the first image can be determined. Image elimination is performed on the position where the question content in the first image is located, and the remaining content is used as the answer content of the user.
[0146] For example Figure 1b in the test paper, the text content and position of 4 multiple-choice questions should be recorded in its corresponding test paper description list, including its text information, parentheses, and the text content, font, size, and position of the corresponding four options. According to the recorded position, the position where the question content is located can be determined. Image elimination is performed on the image at this position, and a second image containing the answer content of the user can be obtained. The second image can be as Figure 1d shown.
[0147] In another implementation manner of the present application, according to the test paper description list, the answer area of the user is determined, and the content in the answer area is used as the answer content of the user.
[0148] For Figure 1bFor example, the test paper description list should record the location of the parentheses for each multiple-choice question, as well as the location of each option. In this embodiment, the location of the parentheses can serve as the answer area, where the user can write their options. The location of the options can also serve as the answer area, where the user can mark their answers, such as by checking a box. Figure 1c As shown, the second image contains the user's answers. For example, the user answered multiple-choice questions 1, 2, and 4 by writing "B", "C", and "B", while for multiple-choice question 3, the user answered by marking a checkmark. The area requiring the examinee's answers is determined by the test paper description list, thus separating the user's answers from the first image and using them as the second image.
[0149] S34. The papers are graded based on the list of test question descriptions and the user's answers.
[0150] Specifically, the marking terminal further marks the papers based on the user's answers, including:
[0151] First, a preset recognition algorithm is used to identify the answer content in the second image to obtain the corresponding recognition result.
[0152] The preset recognition algorithm may include an OCR recognition algorithm, which uses OCR to recognize text information at preset locations and obtain the corresponding recognition result. For example, for the parentheses at the end of multiple-choice questions 1, 2, and 4, it can recognize the user's written answer option. The preset recognition algorithm may also include feature image recognition algorithms, which can identify whether the user's marking information at preset locations corresponds to the answer. For example, by recognizing the feature image of a checkmark, it can be recognized that the user's answer to multiple-choice question 3 is option D.
[0153] After acquiring the user's answers, the marking terminal records them and then determines the location of the answers in the second image based on the exam paper description list. Based on the location and the exam paper description list, it then determines the corresponding question content. It should be noted that the question content here is not limited to the question itself, but can include the question number; that is, the question content refers to the identifying information that determines the answer to the given answer.
[0154] Based on the content of the test questions, the marking terminal further retrieves the pre-stored standard answers corresponding to the test questions through a query.
[0155] The marking terminal further compares the user's answers with the standard answers to assess the grades.
[0156] In other embodiments of the present application, the examination terminal can be further extended in function, for example, forming a wrong question set for the user, and the like, so as to facilitate more convenient and intelligent teaching application for the user.
[0157] The intelligent examination method provided by the embodiments of the present application generates a test paper description list in the process of printing the unattempted test paper by the printing terminal, the test paper description list is used to record the correspondence between the test question content and the position of the test paper, in the subsequent intelligent examination process, the first image of the test paper answered by the user is acquired, the answer content of the user is separated from the first image, and then the examination is performed according to the test paper description list and the answer content of the user. Compared with the prior art, the test paper description list generated in the printing process is used for examination, without the need to recognize the answer content of the user by means of a complex algorithm, and without the need to perform multiple image acquisition, so that the efficiency of intelligent examination is improved.
[0158] Another aspect of the embodiments of the present application further provides a printing data processing apparatus. The printing data processing apparatus can be realized in the form of software or hardware in the printing terminal, and the printing terminal can be, but is not limited to, an image forming device such as a printer.
[0159] Figure 5 A printing data processing apparatus is illustrated.
[0160] The printing data processing apparatus 400 in the embodiment includes:
[0161] The job receiving unit 401 is configured to receive a printing job for an unattempted test paper, and the printing job contains a PDL language corresponding to the test paper.
[0162] The analysis unit 402 is configured to analyze the PDL language to obtain the correspondence between the test question content and the position of the test paper, and generate a test paper description list based on the correspondence between the test question content and the position.
[0163] The printing execution unit 403 is configured to draw a to-be-printed page according to the PDL language, and perform a printing operation on the to-be-printed page by using a printing engine.
[0164] The printing data processing apparatus in the embodiments of the present application can enable the image forming device to implement the printing data processing method in the foregoing embodiments, and the method flow is not repeated here.
[0165] As Figure 6 , Figure 6 Another printing data processing apparatus is illustrated.
[0166] The printing data processing apparatus 700 in the embodiment includes:
[0167] The receiving unit 701 is configured to receive a print job of an unmarked test paper; the segmentation unit 702 is configured to perform segmentation processing on a page of the unmarked test paper to obtain a plurality of segmented images;
[0168] The recording and generating unit 703 is configured to record text information of each segmented image and a position of each segmented image in the page of the unmarked test paper respectively, and generate a test paper description list based on a correspondence between the text information and the position.
[0169] The print data processing apparatus in the embodiments of the present application can enable the image forming device to implement the print data processing method in the foregoing embodiments, and the method flow is not repeated here.
[0170] As Figure 7 In another aspect of the embodiments of the present application, an intelligent test paper marking apparatus is further provided.
[0171] Specifically, the intelligent test paper marking apparatus 500 comprises:
[0172] The first obtaining unit 501 is configured to obtain a first image of a test paper marked by a user;
[0173] The second obtaining unit 502 is configured to obtain a test paper description list corresponding to the test paper, the test paper description list being generated in a process of printing an unmarked test paper, and the test paper description list being configured to record a correspondence between a test question content and a position of the test paper;
[0174] The image processing unit 503 is configured to separate the marking content of the user from the first image;
[0175] The content processing unit 504 is configured to mark the test paper based on the test paper description list and the marking content of the user.
[0176] The intelligent test paper marking apparatus in the embodiments of the present application can be implemented in a computer or a server in the form of hardware or software, so as to implement the intelligent test paper marking method in the foregoing embodiments, and the method flow is not repeated here.
[0177] In another aspect of the embodiments of the present application, a corresponding storage medium is further provided, which can store a computer program, and when a computer device executes the computer program, the print data processing method in the foregoing embodiments can be implemented.
[0178] In another aspect of the embodiments of the present application, a corresponding storage medium is further provided, which can store a computer program, and when a computer device executes the computer program, the intelligent test paper marking method in the foregoing embodiments can be implemented.
[0179] Figure 8 is a schematic diagram of an electronic device provided by the embodiments of the present application. As Figure 8As shown, the electronic device 600 of this embodiment includes a processor 601, a memory 602, and a computer program 603 stored in the memory and executable on the processor 601. When the processor 601 executes the computer program 603, the printing data processing method in the embodiment is implemented, and details are not described herein again to avoid repetition. Alternatively, when the computer program is executed by the processor 601, the functions of each model / unit in the printing data processing apparatus in the embodiment are implemented, and details are not described herein again to avoid repetition.
[0180] The electronic device 600 can be a single computer device or a cloud computer device when executing the above intelligent marking method. The electronic device 600 can be an image forming device such as a printer or a computer device installed with a print driver when executing the above printing data processing method. The electronic device can include, but is not limited to, a processor 601 and a memory 602. Those skilled in the art can understand that Figure 8 The electronic device 600 is only an example and does not constitute a limitation on the electronic device 600, which can include more or fewer components than those shown, or combine certain components, or different components, for example, the computer device can also include an input / output device, a network access device, a bus, etc.
[0181] The processor 601 can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (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. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0182] The memory 602 can be an internal storage unit of the electronic device 600, for example, a hard disk or a memory of the electronic device 600. The memory 602 can also be an external storage device of the electronic device 600, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, and the like equipped on the electronic device 600. Further, the memory 602 can include both the internal storage unit and the external storage device of the electronic device 600. The memory 602 is used to store a computer program and other programs and data required by the computer device. The memory 602 can also be used to temporarily store data that has been output or will be output.
[0183] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be described here.
[0184] In several embodiments provided by the present application, it should be understood that the disclosed system, device and method can be implemented by other manners. For example, the device embodiments described above are only schematic, for example, the division of the above units is only a logical function division, and another division manner can be used in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.
[0185] The integrated unit in the form of the software function unit described above can be stored in a computer readable storage medium. The software function unit described above is stored in a storage medium, including a plurality of instructions for causing a computer device (which can be a personal computer, a computer device, or a network device, etc.) or a processor to execute part of the steps of the method of the embodiments of the present application. The foregoing storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various program code storage media.
[0186] The above is only a preferred embodiment of the present application, and is not used to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An intelligent marking method, applied to a marking terminal, characterized in that, The method includes: Get the first image of the user's completed exam paper; Obtain the test paper description list corresponding to the test paper. The test paper description list is generated during the printing of unanswered test papers. The test paper description list is used to record the correspondence between the test paper's question content and location. Separating the user's answer from the first image specifically includes: determining the content and location of the test questions in the first image based on the test paper description list; removing the location of the test questions in the first image to obtain the remaining content as the user's answer; The exam papers are graded based on the list of exam paper descriptions and the user's answers.
2. The intelligent marking method according to claim 1, characterized in that, After separating the user's response from the first image, the method further includes: Output a second image containing the stated response; The grading process based on the test paper description list and the user's answers includes: The answer content in the second image is identified using a preset recognition algorithm to obtain the corresponding recognition result; Determine the position corresponding to the answer content in the second image, and determine the test question content corresponding to the answer content based on the position and the test paper description list; Based on the content of the test questions, obtain the pre-stored standard answers corresponding to the content of the test questions; The recognition results are compared with the pre-stored standard answers to obtain the grading results.
3. The intelligent marking method according to claim 2, characterized in that, The step of using a preset recognition algorithm to recognize the answer content in the second image and obtaining the corresponding recognition result includes: The text information at a preset position in the second image is identified, and / or the marker information at a preset position in the second image is identified, to obtain the corresponding recognition result.
4. The intelligent marking method according to claim 2, characterized in that, The intelligent marking method also includes: Based on the results of the marking, a set of incorrect questions is compiled.
5. The intelligent marking method according to claim 1, characterized in that, The method further includes sending the test paper description column to the marking terminal or uploading it to a preset server.
6. An intelligent marking device, characterized in that, include: The first acquisition unit is used to acquire the first image of the test paper that the user has already answered; The second acquisition unit is used to acquire the test paper description list corresponding to the test paper. The test paper description list is generated during the printing of unanswered test papers. The test paper description list is used to record the correspondence between the test paper's question content and position. An image processing unit is configured to separate the user's answer content from the first image, specifically including: determining the test question content and location in the first image based on the test paper description list; removing the image from the location of the test question content in the first image to obtain the remaining content as the user's answer content; The content processing unit is used to grade the papers based on the test paper description list and the user's answers.
7. An intelligent marking and printing system, characterized in that, It includes a print data processing terminal and a marking terminal, wherein the marking terminal is used to execute the intelligent marking method according to any one of claims 1-5, and the print data processing terminal is a printing terminal or a terminal with a printing driver.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the intelligent marking method according to any one of claims 1 to 5.
9. A computer-readable storage medium, characterized in that, The storage medium includes a stored program, which, when running, controls the device containing the storage medium to execute the intelligent marking method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Test paper automatic test paper marking processing method and system without answer sheet
CN104143094A
Test paper making and automatic test paper marking system and method
CN107622463A
Test paper processing method and system
CN110322379A
Test paper answer recognition method, system and device and computer readable storage medium
CN111553211A
Intelligent automatic paper marking service method, system and device
CN114708606A