CN111814606A - An automatic scoring system and implementation method for technical image processing and pattern recognition - Google Patents
An automatic scoring system and implementation method for technical image processing and pattern recognition Download PDFInfo
- Publication number
- CN111814606A CN111814606A CN202010585549.7A CN202010585549A CN111814606A CN 111814606 A CN111814606 A CN 111814606A CN 202010585549 A CN202010585549 A CN 202010585549A CN 111814606 A CN111814606 A CN 111814606A
- Authority
- CN
- China
- Prior art keywords
- answer
- image
- area
- handwriting
- serial number
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/32—Digital ink
- G06V30/36—Matching; Classification
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/20—Education
- G06Q50/205—Education administration or guidance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/40—Document-oriented image-based pattern recognition
- G06V30/41—Analysis of document content
- G06V30/418—Document matching, e.g. of document images
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Tourism & Hospitality (AREA)
- Educational Administration (AREA)
- Educational Technology (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Multimedia (AREA)
- General Business, Economics & Management (AREA)
- Artificial Intelligence (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Electrically Operated Instructional Devices (AREA)
Abstract
Description
技术领域technical field
本发明涉及图像处理技术领域,具体是一种技术图像处理和模式识别的自动阅卷系统及实现方法。The invention relates to the technical field of image processing, in particular to an automatic scoring system and an implementation method for technical image processing and pattern recognition.
背景技术Background technique
目前的试卷自动识别技术主要针对答题卡进行自动识别,这种方式虽然节省了阅卷时间,提高了阅卷准确率,但是也存在一定的问题:浪费纸张,同时由于考生需要在答题卡上进行涂卡,因此需要额外花费时间,且容易出现考生将答案涂在错误位置上的情况,同时,现有的考试针对不同的场景不一定都采用答题卡的模式,比如一些小测试考试,由于成本限制,不可能使用答题卡,用于识别答题卡的系统无法运用,因此只能教师手动批改客观题,费时费力。The current test paper automatic identification technology is mainly aimed at automatic identification of answer sheets. Although this method saves time for marking and improves the accuracy of marking, it also has certain problems: waste of paper, and because candidates need to smear on answer sheets. , so it takes extra time, and it is easy for candidates to smear the answer in the wrong position. At the same time, the existing test does not necessarily use the answer sheet mode for different scenarios, such as some small test exams, due to cost constraints, It is impossible to use answer sheets, and the system for identifying answer sheets cannot be used, so teachers can only manually correct objective questions, which is time-consuming and labor-intensive.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明的目的是提供一种技术图像处理和模式识别的自动阅卷系统及实现方法,能够兼容答题卡模式和试卷模式进行自动阅卷,从而适应更多的考试场景。In view of this, the purpose of the present invention is to provide an automatic scoring system and implementation method for technical image processing and pattern recognition, which can be compatible with answer sheet mode and test paper mode for automatic scoring, thereby adapting to more test scenarios.
为了实现上述目的,本发明采用了如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:
本发明的一种技术图像处理和模式识别的自动阅卷系统及实现方法,包括步骤,An automatic marking system and implementation method for technical image processing and pattern recognition of the present invention, comprising the steps of:
S101,预先在空白试卷和答题卡上进行标记;S101, mark blank test papers and answer sheets in advance;
S102,使用光学扫描仪将试卷或者答题卡扫描转化为图像,通过识别图像中的标记判断图像为试卷还是答题卡;S102, use an optical scanner to scan the test paper or the answer sheet and convert it into an image, and determine whether the image is the test paper or the answer sheet by identifying the mark in the image;
S103,如果图像为答题卡,将图像转化为灰阶直方图,首先获取答题卡的序号,再通过识别序号对应位置下的特定灰度值的涂写区域的信息获得该序号下对应的答案;S103, if the image is an answer sheet, convert the image into a gray-scale histogram, first obtain the serial number of the answer sheet, and then obtain the corresponding answer under the serial number by identifying the information of the graffiti area of the specific gray value under the corresponding position of the serial number;
S104,如果图形为试卷,首先获取试卷中上的题目序号,再通过采集题目序号对应位置的手写体,并识别手写体获得答案;S104, if the graphic is a test paper, first obtain the question serial number on the test paper, and then obtain the answer by collecting the handwriting at the position corresponding to the question serial number, and recognizing the handwriting;
S105,输入标准答案,将自动获取的答案与标准答案进行对比,获得考试分数。S105, input the standard answer, compare the automatically obtained answer with the standard answer, and obtain the test score.
进一步,所述S101中的标记为空白试卷和答题卡的特定位置上印刷的图形或者文字信息。Further, the marks in S101 are graphics or text information printed on specific positions of blank test papers and answer sheets.
进一步,所述S103的具体步骤包括:Further, the specific steps of S103 include:
S10301,首先将答题卡图像转化为灰阶直方图,按照特定间距从左往右,从上向下地扫面答题卡采集并识别答题卡上的数字、字母和手写笔迹;S10301, first convert the image of the answer sheet into a gray-scale histogram, scan the answer sheet from left to right, and from top to bottom according to a specific interval to collect and identify the numbers, letters and handwriting on the answer sheet;
S10302,判断数字的从小到大的排列方式,如果数字横向多排地排列,则采集所有数字的正下方或者正上方位置的字母,如果数字竖向多列地排列,则采集所有数字的正左方或者正右方位置的字母;S10302, determine the arrangement of the numbers from small to large, if the numbers are arranged in multiple horizontal rows, then collect the letters directly below or directly above all the numbers, and if the numbers are arranged vertically in multiple columns, collect all the numbers directly to the left The letter in the square or right position;
S10303,如果识别出区域内有按照顺序横向或者竖向排列的字母段,则该区域为答案填写区,如果答案填写区内的字母段横向排列,识别横向字母段中的特定灰度值的色块,通过判断色块左右的字母判断色块代表的字母,如果字母段竖向排列,通过判断色块上下的字母判断色块代表的字母;S10303, if it is identified that there are letter segments arranged horizontally or vertically in the area, the area is the answer filling area, if the letter segments in the answer filling area are arranged horizontally, identify the color of the specific gray value in the horizontal letter segment Block, judge the letter represented by the color block by judging the letters on the left and right of the color block, if the letter segments are arranged vertically, judge the letter represented by the color block by judging the letters above and below the color block;
S10304,如果识别出区域内分布有按照顺序横向排列或者竖向数字,但是数字的正上方、正下方、正左方和正右方均无字母,则判定该区域为考号填写区,通过识别考号填写区的特定灰度值的色块的位置识别考号;S10304, if it is recognized that there are numbers arranged horizontally or vertically in the area, but there are no letters directly above, below, to the left and right of the numbers, it is determined that the area is the test number filling area, and the identification test is passed. The position identification test number of the color block of the specific gray value in the number filling area;
S10305,提取答案填写区的按照顺序排列的数字作为序号,将识别出的字母作为客观题答案与序号对应输出;S10305, extract the numbers arranged in order in the answer filling area as the serial number, and output the identified letters as the answer of the objective question corresponding to the serial number;
S10306,如果识别出区域内有手写笔迹,则判断该区域为主观题答案填写区,直接保存该区域的图像并输出至显示设备。S10306, if it is recognized that there is handwriting in the area, it is determined that the area is an area for filling in the answer of the subjective question, and the image of the area is directly saved and output to the display device.
进一步,所述S104的具体步骤包括:Further, the specific steps of S104 include:
S10401,对试卷图像进行逐行扫描和识别;S10401, scan and identify the image of the test paper line by line;
S10402,获取试卷图像中每一道题目的序号,规则为:如果任一单独印刷体文字段的第一排的最左方的如果为数字,则判定该数字为序号;S10402, obtain the serial number of each question in the test paper image, the rule is: if the leftmost number in the first row of any single printed text field is a number, then determine that the number is a serial number;
S10403,获取离序号所在的印刷体文字段最近的一处手写笔迹,并进行识别,从而判断为主管体还是客观题;S10403, obtain a handwriting closest to the printed text field where the serial number is located, and identify it, so as to determine whether it is a main body or an objective question;
S10404,如果识别出的手写笔迹只包含一个或者多个字母信息,则判断为客观题,通过对比题目序号下的字母信息和预存的标准答案,输出对比结果;S10404, if the identified handwriting contains only one or more letter information, it is judged as an objective question, and the comparison result is output by comparing the letter information under the question serial number and the pre-stored standard answer;
S10405,如果识别出的手写笔迹包含文字信息,则判断为主观题,保存手写笔迹的图像直接输出至显示设备即可。S10405, if the recognized handwriting contains text information, it is determined as a subjective question, and the image of the saved handwriting can be directly output to the display device.
本发明还提供一种技术图像处理和模式识别的自动阅卷系统,包括The present invention also provides an automatic marking system for technical image processing and pattern recognition, comprising:
扫描单元,用于扫描试卷或者答题卡实物,从而获得答题卡或者试卷的图像;The scanning unit is used to scan the actual test paper or answer sheet, so as to obtain the image of the answer sheet or test sheet;
处理单元,用于接收来自扫描单元的图像,并对图像进行处理、识别、对比和输出;a processing unit for receiving the image from the scanning unit, and processing, identifying, comparing and outputting the image;
显示单元,用于显示无法直接判断的主观题的手写笔迹。The display unit is used to display handwritten handwriting of subjective questions that cannot be directly judged.
本发明的有益效果是:本发明的一种技术图像处理和模式识别的自动阅卷系统及实现方法,通过分别在试卷和答题卡上的特定位置预先进行标记,通过识别该标记可以迅速分辨扫描图像为试卷还是答题卡,从而进行不同模式的自动阅卷;答题卡模式下,通过识别特定灰度值的色块的位置来获取答案,试卷模型下通过采集并识别手写笔迹来获取答案,从而使得本发明能够适用更多的考试场景。The beneficial effects of the present invention are as follows: an automatic marking system and implementation method for technical image processing and pattern recognition of the present invention, by pre-marking specific positions on the test paper and the answer sheet respectively, by identifying the mark, the scanned image can be quickly distinguished Whether it is a test paper or an answer sheet, so as to carry out automatic scoring in different modes; in the answer sheet mode, the answer is obtained by identifying the position of the color block with a specific gray value, and the answer is obtained by collecting and recognizing handwriting under the test paper model, so that this The invention can be applied to more test scenarios.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它相关的附图:In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following drawings will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope. For those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without creative work:
图1为本发明的方法流程图;Fig. 1 is the method flow chart of the present invention;
图2为本发明的步骤S103的详细步骤流程图;Fig. 2 is the detailed step flow chart of step S103 of the present invention;
图3为本发明的步骤S104的详细步骤流程图。FIG. 3 is a detailed flow chart of step S104 of the present invention.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations.
因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。Thus, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。It should be noted that, in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any relationship between these entities or operations. any such actual relationship or sequence exists. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus.
现有的自动阅卷系统一般都是针对答题卡,利用光学扫描仪将答题卡扫描获得图像和灰阶图像,通过判断答题卡上铅笔涂抹的位置从而判断答案的对错,但是这种方式无法适用于直接识别试卷,在一些学校或者小型考试中,由于成本限制无法适用答题卡,因此需要一种应用范围广,既能够通过答题卡自动阅卷,也能够通过试卷直接自动阅卷的自动阅卷系统及实现方法。The existing automatic scoring system is generally aimed at answer sheets, using an optical scanner to scan the answer sheet to obtain images and grayscale images, and judge the correctness of the answer by judging the position of the pencil smear on the answer sheet, but this method is not applicable. In order to directly identify the test paper, in some schools or small exams, the answer sheet cannot be applied due to cost constraints, so a wide range of applications is required, which can automatically mark both through the answer sheet and directly through the test paper. Automatic marking system and implementation method.
如图1-图2所示:本实施例的一种技术图像处理和模式识别的自动阅卷系统及实现方法,包括步骤,As shown in Figure 1-Figure 2: a technical image processing and pattern recognition automatic scoring system and implementation method of the present embodiment, including steps,
S101,预先在空白试卷和答题卡上进行标记,在印刷试卷和答题卡时在特定位置印刷特定标记,比如,在试卷的左上角印刷上字母“S”,在答题卡的左上角印刷上字母“D”;S101, mark blank test papers and answer sheets in advance, and print specific marks at specific positions when printing test papers and answer sheets, for example, print the letter "S" in the upper left corner of the test paper, and print the letter "S" in the upper left corner of the answer sheet "D";
S102,使用光学扫描仪将试卷或者答题卡扫描转化为图像,通过识别图像中的标记判断图像为试卷还是答题卡,先利用光学扫描仪将试卷转化为图像,在发送至处理设备中,进行标记识别,处理设备中预存有标记和具体标记代表试卷还是答题卡的信息,通过对比标记即可识别出图像是答题卡还是试卷;S102, use an optical scanner to scan the test paper or answer sheet and convert it into an image, and determine whether the image is a test paper or an answer sheet by identifying the marks in the image, first convert the test paper into an image by using an optical scanner, and mark it when sending it to the processing device Recognition and processing equipment pre-stored information of marks and specific marks representing test papers or answer sheets, and by comparing the marks, it can be identified whether the image is an answer sheet or a test sheet;
S103,通过标记进行判断,如果图像为答题卡,将图像转化为灰阶直方图,首先获取答题卡的序号,再通过识别序号对应位置下的特定灰度值的涂写区域的信息获得该序号下对应的答案,一般来说答题卡的客观题部分都需要使用2B 铅笔进行作答,因此使用2B铅笔作答的色块的灰度值的一定的,用过检测特定范围的灰度值的色块即可获取答案的分布位置,与标注的分布位置进行对比后即可获得题目对错和最终得分;S103: Judging by marking, if the image is an answer sheet, convert the image into a gray-scale histogram, first obtain the serial number of the answer sheet, and then obtain the information of the scribbling area with a specific gray value under the corresponding position of the serial number to obtain the Corresponding answers, generally speaking, the objective part of the answer sheet needs to be answered with 2B pencils, so the gray value of the color blocks answered with 2B pencils is certain, and the color blocks used to detect the gray value of a specific range are The distribution position of the answer can be obtained, and the question right and wrong and the final score can be obtained after comparing with the marked distribution position;
具体实施过程包括:The specific implementation process includes:
S10301,图像经过光学扫描仪的扫描后发送至处理设备中,利用处理设备首先将答题卡图像转化为灰阶直方图,按照特定间距从左往右,从上向下地一行一行地扫面答题卡采集并识别答题卡上的数字、字母和手写笔迹,数字可以为阿拉伯数字、汉子数字或者罗马数字,字母主要为客观题选项的“A”、“B”、“C”等字母,由于为印刷体,处理设备可用根据现有的图像识别技术,很容易地识别出来,而手写笔迹的识别需要建立电脑神经网络,不断地进行学习,提高准确率;S10301, the image is scanned by an optical scanner and sent to a processing device. The processing device first converts the answer sheet image into a gray-scale histogram, and scans the answer sheet line by line from left to right and top to bottom according to a specific spacing Collect and identify the numbers, letters and handwriting on the answer sheet. The numbers can be Arabic numerals, Chinese numerals or Roman numerals. The letters are mainly "A", "B", "C" and other letters of the objective question options. body, the processing equipment can be easily recognized according to the existing image recognition technology, and the recognition of handwriting requires the establishment of a computer neural network to continuously learn and improve the accuracy;
S10302,判断数字的从小到大的排列方式,如果数字横向多排地排列,则代表数字序号横向排列,一般来说这种情况下选项的字母位于序号的正下方,则让处理设备采集并识别所有数字的正下方或者正上方位置的字母,通过采集结果是否有字母反推对应的数字是否真的为题目的序号,如果数字竖向多列地排列,则采集所有数字的正左方或者正右方位置的字母,同理反推对应的数字是够真的为题目的序号;S10302, determine the arrangement of the numbers from small to large. If the numbers are arranged in multiple horizontal rows, it means that the numbers are arranged horizontally. Generally speaking, in this case, the letters of the options are located directly below the serial numbers, and the processing equipment is allowed to collect and identify The letters directly below or directly above all numbers, and whether the corresponding number is really the serial number of the topic is inferred by whether there is a letter in the collection result. If the numbers are arranged vertically in multiple columns, collect the positive left or positive The letter in the right position, and the corresponding number is the same as the serial number of the title;
S10303,如果识别出区域内有按照顺序横向或者竖向排列的字母段,则该区域为答案填写区,如果答案填写区内的字母段横向排列,识别横向字母段中的特定灰度值的色块,通过判断色块左右的字母判断色块代表的字母,例如色块的位置的正左方和正右方分别为字母“A”和“C”,则判定色块代表字母“B”,如果字母段竖向排列,通过判断色块上下的字母判断色块代表的字母;例如色块的位置的正上方和正下方分别为字母“A”和“C”,则判定色块代表字母“B”。S10303, if it is identified that there are letter segments arranged horizontally or vertically in the area, the area is the answer filling area, if the letter segments in the answer filling area are arranged horizontally, identify the color of the specific gray value in the horizontal letter segment Block, judge the letter represented by the color block by judging the letters on the left and right of the color block. For example, the letter "A" and "C" are on the left and right of the position of the color block, then it is judged that the color block represents the letter "B", if The letter segments are arranged vertically, and the letters represented by the color block are judged by judging the letters above and below the color block; for example, the letters "A" and "C" are directly above and below the position of the color block, then it is determined that the color block represents the letter "B" .
S10304,如果识别出区域内分布有按照顺序横向排列或者竖向数字,但是数字的正上方、正下方、正左方和正右方均无字母,则判定该区域为考号填写区,通过识别考号填写区的特定灰度值的色块的位置识别考号;S10304, if it is recognized that there are numbers arranged horizontally or vertically in the area, but there are no letters directly above, below, to the left and right of the numbers, it is determined that the area is the test number filling area, and the identification test is passed. The position identification test number of the color block of the specific gray value in the number filling area;
S10305,提取答案填写区的按照顺序排列的数字作为序号,将识别出的字母作为客观题答案与序号对应输出,同时提取考号填写区的数字,将识别的考号、题目序号和答案对应关联起来;S10305, extract the numbers arranged in order in the answer filling area as the serial number, output the identified letters as the answer of the objective question corresponding to the serial number, extract the numbers in the test number filling area, and associate the identified test number, question serial number and answer correspondingly stand up;
S10306,如果识别出区域内有手写笔迹,则判断该区域为主观题答案填写区,直接保存该区域的图像并输出至显示设备,显示设备显示手写笔迹,让老师观看以及阅卷。S10306, if it is recognized that there is handwriting in the area, determine that the area is a filling area for subjective question answers, directly save the image of the area and output it to the display device, and the display device displays the handwriting for the teacher to watch and mark the paper.
S104,如果图形为试卷,首先获取试卷中上的题目序号,再通过采集题目序号对应位置的手写体,并识别手写体获得答案,当判断出图形为试卷时,采用分别印刷体和手写体的方法获取答案,训练机器识别手写体的方法可以采用机器学习的方式,建立神经网络,向神经网络中输入大量的手写笔迹,通过不断地手写笔迹模型的训练即可使得处理设备能够准确地识别出手写笔迹和印刷体,从而获取手写的答案。S104, if the graphic is a test paper, first obtain the question serial number on the test paper, and then obtain the answer by collecting the handwriting at the position corresponding to the question serial number, and recognizing the handwriting to obtain the answer, when it is judged that the graphic is the test paper, adopt the method of printing and handwriting respectively to obtain the answer , The method of training machine to recognize handwriting can use the method of machine learning, establish a neural network, input a large number of handwriting into the neural network, and continuously train the handwriting model, so that the processing device can accurately recognize the handwriting and printing. body to obtain handwritten answers.
本实施例中,S104的具体实施步骤包括:In this embodiment, the specific implementation steps of S104 include:
S10401,对试卷图像进行逐行扫描和识别,具体的扫描和识别过程参考 S10301,但是识别的是印刷体和手写笔迹;S10401, scan and recognize the image of the test paper line by line, refer to S10301 for the specific scanning and recognition process, but recognize printed body and handwriting;
S10402,获取试卷图像中每一道题目的序号,规则为:如果任一单独印刷体文字段的第一排的最左方的如果为数字,则判定该数字为序号,由于采取逐行扫描的方式,因此将扫描的间距设置为与字体大小一致,扫描到一行文字结束后,扫描下一行时没有文字则为一段;S10402, obtain the serial number of each question in the test paper image, the rule is: if the leftmost number in the first row of any single printed text field is a number, then determine the number as the serial number, because the method of line-by-line scanning is adopted , so set the scanning spacing to be the same as the font size. After scanning a line of text, it will be a paragraph without text when scanning the next line;
S10403,获取离序号所在的印刷体文字段最近的一处手写笔迹,并进行识别,从而判断为主管体还是客观题,一般来说客观题题目部分的最后是一个用于填写答案的括号,扫描题目的印刷体文字段,在文字不间断的情况下扫描出手写笔迹即可将该处的手写笔迹判定为该题目的手写答案;S10403: Obtain a handwriting closest to the printed text field where the serial number is located, and identify it to determine whether it is a main body or an objective question. Generally speaking, the end of the objective part of the question is a bracket for filling in the answer, scan the For the printed text field of the question, the handwritten handwriting can be determined as the handwritten answer of the question by scanning the handwritten handwriting under the condition that the text is uninterrupted;
S10404,如果识别出的手写笔迹只包含一个或者多个字母信息,则判断为客观题,通过对比题目序号下的字母信息和预存的标准答案,输出对比结果;S10404, if the identified handwriting contains only one or more letter information, it is judged as an objective question, and the comparison result is output by comparing the letter information under the question serial number and the pre-stored standard answer;
S10405,如果识别出的手写笔迹包含文字信息,则判断为主观题,保存手写笔迹的图像直接输出至显示设备即可。S10405, if the recognized handwriting contains text information, it is determined as a subjective question, and the image of the saved handwriting can be directly output to the display device.
S105,输入标准答案,将自动获取的答案与标准答案进行对比,获得考试分数,将自动获取的答案与输入的标准答案进行对比,将正确的答案乘以得分的权重,即可获得客观题的最终分数。S105, input the standard answer, compare the automatically obtained answer with the standard answer, obtain the test score, compare the automatically obtained answer with the input standard answer, multiply the correct answer by the weight of the score, and then obtain the score of the objective question. final score.
本实施例中,S101中的标记为空白试卷和答题卡的特定位置上印刷的图形或者文字信息。In this embodiment, the mark in S101 is the graphic or text information printed on the specific position of the blank test paper and the answer sheet.
本发明还提供一种技术图像处理和模式识别的自动阅卷系统,包括The present invention also provides an automatic marking system for technical image processing and pattern recognition, comprising:
扫描单元,用于扫描试卷或者答题卡实物,从而获得答题卡或者试卷的图像,一般为光学扫描仪;The scanning unit is used to scan the actual test paper or answer sheet to obtain the image of the answer sheet or test sheet, generally an optical scanner;
处理单元,用于接收来自扫描单元的图像,并对图像进行处理、识别、对比和输出,一般为与光学扫描仪通过数据线连接的电脑主机;The processing unit is used to receive the image from the scanning unit and process, identify, compare and output the image, which is generally a computer host connected to the optical scanner through a data line;
显示单元,用于显示无法直接判断的主观题的手写笔迹,一般为电脑显示器。The display unit is used to display the handwriting of subjective questions that cannot be directly judged, and is generally a computer monitor.
本发明的有益效果是:本发明的一种技术图像处理和模式识别的自动阅卷系统及实现方法,通过分别在试卷和答题卡上的特定位置预先进行标记,通过识别该标记可以迅速分辨扫描图像为试卷还是答题卡,从而进行不同模式的自动阅卷;答题卡模式下,通过识别特定灰度值的色块的位置来获取答案,试卷模型下通过采集并识别手写笔迹来获取答案,从而使得本发明能够适用更多的考试场景。The beneficial effects of the present invention are as follows: an automatic marking system and implementation method for technical image processing and pattern recognition of the present invention, by pre-marking specific positions on the test paper and the answer sheet respectively, by identifying the mark, the scanned image can be quickly distinguished Whether it is a test paper or an answer sheet, so as to carry out automatic scoring in different modes; in the answer sheet mode, the answer is obtained by identifying the position of the color block with a specific gray value, and the answer is obtained by collecting and recognizing handwriting under the test paper model, so that this The invention can be applied to more test scenarios.
最后说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的宗旨和范围,其均应涵盖在本发明的权利要求范围当中。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be Modifications or equivalent substitutions without departing from the spirit and scope of the technical solutions of the present invention should be included in the scope of the claims of the present invention.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010585549.7A CN111814606A (en) | 2020-06-24 | 2020-06-24 | An automatic scoring system and implementation method for technical image processing and pattern recognition |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010585549.7A CN111814606A (en) | 2020-06-24 | 2020-06-24 | An automatic scoring system and implementation method for technical image processing and pattern recognition |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111814606A true CN111814606A (en) | 2020-10-23 |
Family
ID=72844855
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010585549.7A Pending CN111814606A (en) | 2020-06-24 | 2020-06-24 | An automatic scoring system and implementation method for technical image processing and pattern recognition |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111814606A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112464931A (en) * | 2020-11-06 | 2021-03-09 | 马上消费金融股份有限公司 | Text detection method, model training method and related equipment |
| CN112700414A (en) * | 2020-12-30 | 2021-04-23 | 广东德诚大数据科技有限公司 | Blank answer detection method and system for examination paper marking |
| CN116958982A (en) * | 2023-07-17 | 2023-10-27 | 珠海读书郎软件科技有限公司 | A single-page scanning blank page processing system and method based on marking system |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104143094A (en) * | 2014-07-08 | 2014-11-12 | 北京彩云动力教育科技有限公司 | Test paper automatic test paper marking processing method and system without answer sheet |
| CN106815814A (en) * | 2016-12-26 | 2017-06-09 | 杭州施强教育科技有限公司 | A kind of image contamination processing method for being applied to marking system |
| CN110008933A (en) * | 2019-04-18 | 2019-07-12 | 江苏曲速教育科技有限公司 | A general intelligent scoring system and method |
-
2020
- 2020-06-24 CN CN202010585549.7A patent/CN111814606A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104143094A (en) * | 2014-07-08 | 2014-11-12 | 北京彩云动力教育科技有限公司 | Test paper automatic test paper marking processing method and system without answer sheet |
| CN106815814A (en) * | 2016-12-26 | 2017-06-09 | 杭州施强教育科技有限公司 | A kind of image contamination processing method for being applied to marking system |
| CN110008933A (en) * | 2019-04-18 | 2019-07-12 | 江苏曲速教育科技有限公司 | A general intelligent scoring system and method |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112464931A (en) * | 2020-11-06 | 2021-03-09 | 马上消费金融股份有限公司 | Text detection method, model training method and related equipment |
| CN112464931B (en) * | 2020-11-06 | 2021-07-30 | 马上消费金融股份有限公司 | Text detection method, model training method and related equipment |
| CN112700414A (en) * | 2020-12-30 | 2021-04-23 | 广东德诚大数据科技有限公司 | Blank answer detection method and system for examination paper marking |
| CN116958982A (en) * | 2023-07-17 | 2023-10-27 | 珠海读书郎软件科技有限公司 | A single-page scanning blank page processing system and method based on marking system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110008933B (en) | Universal intelligent marking system and method | |
| CN110210413B (en) | A system and method for content detection and recognition of multi-disciplinary test papers based on deep learning | |
| CN100514357C (en) | Information identification method of full-filling information card | |
| CN110110581B (en) | Test paper correcting method and system based on artificial intelligence | |
| CN110298236B (en) | Automatic Braille image identification method and system based on deep learning | |
| WO2018006294A1 (en) | Exam paper reading system, device and method based on pattern recognition technology | |
| CN101685482A (en) | Electric marking system capable of automatically processing marking results and method thereof | |
| CN101866415A (en) | Answer sheet recognition device and method of computer marking system | |
| CN111814616A (en) | Automatic examination paper marking processing system without answer sheet and implementation method thereof | |
| CN110826872A (en) | Method, system and device for generating examination result analysis report | |
| CN111814606A (en) | An automatic scoring system and implementation method for technical image processing and pattern recognition | |
| CN107067399A (en) | A kind of paper image segmentation processing method | |
| CN114565926A (en) | Two-stage Braille detection and identification method based on target detection | |
| CN107066939A (en) | A kind of paper cutting process method of online paper-marking system | |
| CN107220610A (en) | A kind of subjective item fraction recognition methods applied to marking system | |
| CN113903039A (en) | Color-based answer area acquisition method for answer sheet | |
| CN108681713A (en) | A kind of system for teaching quality evaluation for teachers | |
| CN107045635A (en) | A kind of paper image paging sub title processing method of online paper-marking system | |
| JP4756447B2 (en) | Teaching material processing apparatus, teaching material processing method, and teaching material processing program | |
| CN110288601A (en) | System, method, and computer-readable medium for automatic inspection of printing quality of braille reading materials | |
| JP4894184B2 (en) | Teaching material processing apparatus, teaching material processing method, and teaching material processing program | |
| JP4807487B2 (en) | Teaching material processing apparatus, teaching material processing method, and teaching material processing program | |
| CN113256457A (en) | Online learning diagnosis method and device based on artificial intelligence | |
| CN116107441B (en) | Intelligent pen for teaching and examination and control system thereof | |
| CN106803238B (en) | Answer sheet image noise reduction processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information |
Address after: 518000 Yunfeng garden, 29 Youyi Road, Jianan community, Nanhu street, Luohu District, Shenzhen City, Guangdong Province Applicant after: Fengye (Shenzhen) Technology Co.,Ltd. Address before: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A Applicant before: Fengye (Shenzhen) Technology Co.,Ltd. |
|
| CB02 | Change of applicant information | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201023 |
|
| RJ01 | Rejection of invention patent application after publication |