CN108122269A - Test question generation system and its method based on paper image - Google Patents
Test question generation system and its method based on paper image Download PDFInfo
- Publication number
- CN108122269A CN108122269A CN201611092336.0A CN201611092336A CN108122269A CN 108122269 A CN108122269 A CN 108122269A CN 201611092336 A CN201611092336 A CN 201611092336A CN 108122269 A CN108122269 A CN 108122269A
- Authority
- CN
- China
- Prior art keywords
- examination question
- image
- paper
- attribute information
- question
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/60—Editing figures and text; Combining figures or text
Abstract
The present invention discloses a kind of test question generation system and its method based on paper image, coordinate is clicked using sequentially as the initial point position of each examination question by lasting detecting, and corresponding examination question image is generated according to the width of initial setting up, left margin and spacing and the initial point position of each examination question detected, and allow to establish corresponding attribute information to the examination question image of each examination question, so that the examination question image being consistent according to attribute information inquiry is combined into electronic test paper, to reach the technical effect for improving examination question formation efficiency.
Description
Technical field
The present invention relates to a kind of examination question generation technique, the particularly initial positions to click coordinate as each examination question to be cut
The test question generation system and its method based on paper image of topic.
Background technology
In recent years, as the popularization of computer applications is with flourishing, each school can all establish education resource platform, and right
Paper electronization is to provide follow-up exam analysis and use.
In general, the mode of paper electronization is to scan papery paper by scanning means to form paper figure by tradition
Picture, then paper image is subjected to text-recognition to generate corresponding examination question.However, generating examination question by this method can not effectively ensure often
One examination question all can correctly and completely be cut, and be still necessary to be dependent on manual verification, therefore have the problem of examination question formation efficiency is bad.
In addition, Yi You manufacturers propose the technology using webpage manual cutting examination question.However, this mode process is cumbersome, need
Workload that will be very big, and the region that size differs easily is cut into, even adjacent examination question region is overlapped
It happens, therefore, still can not effectively solve the problems, such as that examination question formation efficiency is bad.
In summary, it is known that always exist the problem of examination question formation efficiency is bad for a long time in the prior art, therefore it is real
It is necessary to propose improved technological means, come solve the problems, such as this one.
The content of the invention
The invention discloses a kind of test question generation systems and its method based on paper image.
First, the invention discloses a kind of test question generation system based on paper image, this system includes:Initial module is detectd
Survey module, segmentation module and generation module.Wherein, initial module to when initial, allow set paper size, this paper ruler
It is very little to include width, left margin and spacing;For detecting module to after paper size is set, display includes the paper image of examination question,
And continue the corresponding each examination question of detecting clicks coordinate using sequentially as the initial point position of each examination question;Split module to root
The examination question region of corresponding each examination question is generated according to the initial point position of width, left margin, spacing and each examination question, and according to every
The examination question region of one examination question generates corresponding examination question image;Generation module is allowing to establish the examination question image of each examination question pair
The attribute information answered, and the examination question image and attribute information of each examination question are stored, provide what is be consistent according to attribute information inquiry
The examination question image is to be combined into electronic test paper.
In addition, the invention discloses a kind of examination question generation method based on paper image, step includes:When initial, permit
Paper size is set perhaps, this paper size includes width, left margin and spacing;After paper size is set, display includes examination question
Paper image, and continue the corresponding each examination question of detecting clicks coordinate using sequentially as the initial point position of each examination question;Root
The examination question region of corresponding each examination question is generated according to the initial point position of width, left margin, spacing and each examination question, and according to every
The examination question region of one examination question generates corresponding examination question image;Allow to establish the examination question image of each examination question in corresponding attribute letter
Breath, and the examination question image and attribute information of each examination question are stored, the examination question figure being consistent according to attribute information inquiry is provided
As to be combined into electronic test paper.
Disclosed herein System and method for as above, be that the present invention is by lasting detecting with the difference of the prior art
Coordinate is clicked using sequentially as the initial point position of each examination question, and according to the width of initial setting up, left margin and spacing and is detectd
The initial point position of each examination question measured generates corresponding examination question image and allows to establish the examination question image of each examination question
Corresponding attribute information, so that the examination question image being consistent according to attribute information inquiry is combined into electronic test paper.
By above-mentioned technological means, the present invention can reach the technical effect for improving examination question formation efficiency.
Description of the drawings
Fig. 1 is the system block diagrams of the test question generation system the present invention is based on paper image.
Fig. 2 is the method flow diagram of the examination question generation method the present invention is based on paper image.
Fig. 3 is that application present invention detecting clicks schematic diagram of the coordinate as the initial point position of each examination question.
Fig. 4 is that the application present invention generates examination question region and generates the schematic diagram of examination question image.
Fig. 5 is the schematic diagram of application present invention setting width, left margin and spacing.
Fig. 6 is the schematic diagram of application present invention setting attribute information.
【Symbol description】
110 initial modules
120 detecting modules
130 segmentation modules
140 generation modules
311~315 initial point positions
411~415 examination question regions
500 size input interfaces
510 width input frames
520 left margin input frames
530 spacing input frames
540 determine element
550 reset element
600 attribute input interfaces
610 knowledge type input frames
620 topic type input frames
630 difficulty input frames
640 determine element
650 reset element
Specific embodiment
Carry out the embodiment that the present invention will be described in detail below in conjunction with schema and embodiment, thereby how the present invention is applied
Technological means can fully understand and implement according to this to solve technical problem and reach the realization process of technical effect.
Illustrate disclosed herein test question generation system based on paper image and its method before, first to the present invention
The noun of institute's self-defining explains, and paper image of the present invention refers to be given birth to scanning means scanning papery paper in advance
Into digital picture, and can pass through and sharpening and go noise etc. reason, so as to the generation foundation as examination question image, as institute
It states examination question image then to refer to from paper image, captures the digital picture that the part of each examination question is generated.In other words, it is described
Paper image is the digital picture of whole part paper, and examination question image is only then the digital picture of each examination question, that is, an examination question corresponds to
One examination question image.
Cooperation schema to be described further to the present invention is based on the test question generation systems of paper image and its method below, please
Referring initially to " Fig. 1 ", " Fig. 1 " is the system block diagrams of the test question generation system the present invention is based on paper image, this system includes:Just
Beginning module 110, detecting module 120, segmentation module 130 and generation module 140.Wherein, initial module 110 to it is initial when, permit
Paper size is set perhaps, this paper size includes width, left margin and spacing.In actual implementation, initial module 110 can provide
Size input interface inputs the data such as width, left margin and spacing as paper size for user, and the size inputs boundary
Face is graphic user interface (Graphical User Interface, GUI), later explains cooperation schema.
Detecting module 120 is to after paper size is set, display includes the paper image of examination question, and continues detecting pair
That answers each examination question clicks coordinate using sequentially as the initial point position of each examination question.In actual implementation, the coordinate that clicks is
The coordinate that user is instigated to be obtained when carrying out clicking operation on paper image with mouse.
It is each to generate correspondence according to the initial point position of width, left margin, spacing and each examination question to split module 130
The examination question region of examination question, and corresponding examination question image is generated according to the examination question region of each examination question.As an example it is assumed that first
Problem purpose initial point position is " 30px ";The initial point position of second topic is " 60px ";3rd problem purpose starting point
Position is " 100px ";Width in paper size is " 400px ", left margin is " 20px " and at intervals of " 5px ".So, first
Problem purpose examination question region is " vertex:30px;Left margin is:20px;Width is:400px;Highly it is:(60-30-5)px」.
The examination question region of second topic is " vertex:60px;Left margin is:20px;Width is:400px;Highly it is:(100-60-5)
Px ", three initial point positions can obtain two examination question regions, and four initial point positions can obtain three examination question regions, and
And so on.In addition, if being intended to obtain the examination question region of identical quantity with three initial point positions, then, split mould
Block 130 can be using the height of paper image as end position, it is assumed that the height of paper image is:" 140px ", with above-mentioned example
Speech, the 3rd problem purpose examination question region are " vertex:100px;Left margin is:20px;Width is:400px;Highly it is:(140-
100-5)px」。
Generation module 140 stores every the examination question image to each examination question to be allowed to establish corresponding attribute information
The examination question image and attribute information of one examination question provide according to the attribute information examination question image that is consistent of inquiry to be combined into electronics
Paper.In actual implementation, generation module 140 can allow defeated when segmentation module 130 generates the examination question image of each examination question
Enter corresponding attribute information, and store examination question image and attribute information to relational database (Relational Database),
Cooperation schema is explained to inputting corresponding attribute information later.In addition, the attribute information includes at least knowledge type, topic
Type and difficulty at least one, and allow user at least one filtered out according to knowledge type, topic type and difficulty
The examination question image being consistent is combined into electronic test paper.
Then, " Fig. 2 " is referred to, " Fig. 2 " is the method flow diagram of the examination question generation method the present invention is based on paper image,
Its step includes:When initial, allow to set paper size, this paper size includes width, left margin and spacing (step
210);After paper size is set, display include the paper image of examination question, and continue each examination question of detecting correspondence clicks seat
It is marked with the initial point position (step 220) sequentially as each examination question;According to the starting of width, left margin, spacing and each examination question
Point position generates the examination question region of corresponding each examination question, and generates corresponding examination question image according to the examination question region of each examination question
(step 230);Allow to establish corresponding attribute information to the examination question image of each examination question, and store the examination question figure of each examination question
As and attribute information, provide according to the attribute information examination question image that is consistent of inquiry to be combined into electronic test paper (step 240).
Pass through above-mentioned steps, you can coordinate is clicked using sequentially as the initial point position of each examination question, and according to first by lasting detecting
The width, left margin and the spacing that set of beginning and the initial point position of each examination question detected generate corresponding examination question image, with
And allow to establish corresponding attribute information to the examination question image of each examination question, so as to the examination question figure being consistent according to attribute information inquiry
As being combined into electronic test paper.
Cooperation " Fig. 3 " to " Fig. 6 " carries out as described below by way of examples below, refers to " Fig. 3 ", and " Fig. 3 " is should
Coordinate is clicked as the schematic diagram of the initial point position of each examination question by the use of present invention detecting.It is false when user browses paper image
If generating examination question, mouse can be used sequentially to click on (Click) in the upper left corner of each examination question, at this point, detecting module 120 can be detected
Mouse clicks initial point position of the coordinate as examination question, the initial point position anticipated as shown in the figure 3 (311~315).In reality
In implementation, it is assumed that generate five examination questions (i.e.:Topic one is to topic five), then, it is necessary to the total degree clicked on can be six times,
Wherein the 6th second generation end of list (EOL) position;Or can also click on five times, directly using the height of paper image 310 as the knot of topic five
Beam position.
It anticipates as shown in figure 4, " Fig. 4 " is that the application present invention generates examination question region and generates the schematic diagram of examination question image.
In actual implementation, segmentation module 130 can according to it is initial when the initial point position of width, left margin, spacing and each examination question that sets
(311~315) the examination question region (411~415) anticipated as shown in figure 4 is generated.In this instance, directly with paper image 310
End position highly as topic five, so five initial point positions (311~315) can generate five examination question regions (411
~415), all there are identical width, left margin and spacing between each examination question region (411~415).Wherein, left margin
Refer to the distance between examination question region (411~415) and 310 left end point of paper image.Then, segmentation module 130 can capture with
Examination question image of the image of examination question region (411~415) overlapping as each examination question, and generation module 140 allows user couple
The examination question image of each examination question establishes corresponding attribute information, such as:Knowledge type, topic type and difficulty etc..It then, then will examination
Topic image and its corresponding attribute information are stored to relational database, are filtered out properly according to attribute information in order to provide user
Examination question, and electronic test paper is combined into the examination question filtered out.
" Fig. 5 " is referred to, " Fig. 5 " is the schematic diagram of application present invention setting width, left margin and spacing.In actual implementation
On, when initial, initial module 110 can provide a size input interface 500 that such as " Fig. 5 " is illustrated, so that user exists
After width input frame 510, left margin input frame 520 and spacing input frame 530 input numerical value, then click definite element 540 and store
The numerical value that is inputted or when input error can click and reset element 550 and be purged to re-enter numerical value.
If " Fig. 6 " illustrates, " Fig. 6 " is the schematic diagram of application present invention setting attribute information.It is previously noted that the attribute
Information include at least knowledge type, topic type and difficulty at least one, in actual implementation, generation module 140 can provide one
A attribute input interface 600 illustrated such as " Fig. 6 ", so that user is in knowledge type input frame 610, topic type input frame 620
And after difficulty input frame 630 inputs numerical value, then click definite element 640 and store inputted numerical value or when input error, it can
Replacement element 650 is clicked to be purged to re-enter numerical value.
In summary, it is known that the difference between the present invention and the prior art is to click coordinate by lasting detecting with sequentially
As the initial point position of each examination question, and according to the width of initial setting up, left margin and spacing and each examination question detected
Initial point position generate corresponding examination question image and allow to establish the examination question image of each examination question in corresponding attribute letter
Breath so that the examination question image being consistent according to attribute information inquiry is combined into electronic test paper, can be solved by this technological means
The problems of prior art, and then reach the technical effect for improving examination question formation efficiency.
Although the present invention is disclosed above with foregoing embodiment, however, it is not to limit the invention, any this field skill
Art personnel, without departing from the spirit and scope of the present invention, when can make a little change and retouch, therefore the patent of the present invention is protected
Protecting scope must regard subject to this specification appended claims institute defender.
Claims (10)
1. a kind of test question generation system based on paper image, which is characterized in that the system includes:
One initial module, when initial, to allow to set a paper size, which includes a width, a left margin
An and spacing;
One detecting module, to after the paper size is set, display includes a paper image of an at least examination question, and continues
The one of the corresponding each examination question of detecting clicks coordinate using sequentially as a starting point position of each examination question;
One segmentation module, to generate correspondence according to the initial point position of the width, the left margin, the spacing and each examination question
One examination question region of each examination question, and corresponding examination question image is generated according to the examination question region of each examination question;And
One generation module the examination question image to each examination question to be allowed to establish a corresponding attribute information, and stores every
The examination question image of one examination question and the attribute information provide according to the attribute information examination question image that is consistent of inquiry to combine
Into electronic test paper.
2. the test question generation system according to claim 1 based on paper image, which is characterized in that the paper image in advance with
A scanning means scanning at least papery paper is generated, and performs clear and Denoising disposal.
3. the test question generation system according to claim 1 based on paper image, which is characterized in that the generation module is with a relation
Database stores examination question image and the attribute information of each examination question.
4. the test question generation system according to claim 1 based on paper image, which is characterized in that the attribute information includes at least
One knowledge type, a topic type and a difficulty at least one, and allow according to the knowledge type, the topic type and the difficulty extremely
One of them filters out the examination question image being consistent and is combined into electronic test paper less.
5. the test question generation system according to claim 1 based on paper image, which is characterized in that the initial module provides a ruler
Very little input interface provides attribute input circle to allow to input the width, the left margin and the spacing and the generation module
Face, when generating the examination question image of each examination question, to allow to input the corresponding attribute information.
6. a kind of examination question generation method based on paper image, which is characterized in that step includes:
When initial, allow to set a paper size, which includes a width, a left margin and a spacing;
After the paper size is set, display includes a paper image of an at least examination question, and continues the corresponding each examination of detecting
The one of topic clicks coordinate using sequentially as a starting point position of each examination question;
An examination of corresponding each examination question is generated according to the initial point position of the width, the left margin, the spacing and each examination question
Region is inscribed, and corresponding examination question image is generated according to the examination question region of each examination question;And
Allow to establish a corresponding attribute information to the examination question image of each examination question, and store the examination question figure of each examination question
As and the attribute information, provide according to the attribute information examination question image that is consistent of inquiry to be combined into electronic test paper.
7. the examination question generation method according to claim 6 based on paper image, which is characterized in that the paper image in advance with
A scanning means scanning at least papery paper is generated, and performs clearly and go noise treatment.
8. the examination question generation method according to claim 6 based on paper image, which is characterized in that the examination question figure of each examination question
Picture and the attribute information are stored in a relational database.
9. the examination question generation method according to claim 6 based on paper image, which is characterized in that the attribute information includes at least
One knowledge type, a topic type and a difficulty at least one, and allow according to the knowledge type, the topic type and the difficulty extremely
One of them filters out the examination question image being consistent and is combined into electronic test paper less.
10. the examination question generation method according to claim 6 based on paper image, which is characterized in that the width, the left margin and
The spacing system is inputted by a size input interface and when generating the examination question image of each examination question, allows to belong to by one
Property input interface input the corresponding attribute information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611092336.0A CN108122269A (en) | 2016-11-28 | 2016-11-28 | Test question generation system and its method based on paper image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611092336.0A CN108122269A (en) | 2016-11-28 | 2016-11-28 | Test question generation system and its method based on paper image |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108122269A true CN108122269A (en) | 2018-06-05 |
Family
ID=62225723
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611092336.0A Withdrawn CN108122269A (en) | 2016-11-28 | 2016-11-28 | Test question generation system and its method based on paper image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108122269A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006195521A (en) * | 2005-01-11 | 2006-07-27 | Seiko Epson Corp | Form processing device |
CN1932795A (en) * | 2006-10-10 | 2007-03-21 | 青岛中科恒信信息技术有限公司 | Examination paper intelligent setting questions and organizing system |
CN103902662A (en) * | 2014-03-06 | 2014-07-02 | 杭州施强软件开发有限公司 | Test question generating method based on browser |
CN103914567A (en) * | 2014-04-23 | 2014-07-09 | 北京奇虎科技有限公司 | Objective test question answer matching method and objective test question answer matching device |
CN103927552A (en) * | 2014-04-23 | 2014-07-16 | 北京奇虎科技有限公司 | Method and device for matching answers of target test questions |
CN105719523A (en) * | 2014-12-04 | 2016-06-29 | 北大方正集团有限公司 | Generation method and generation system of test paper |
-
2016
- 2016-11-28 CN CN201611092336.0A patent/CN108122269A/en not_active Withdrawn
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006195521A (en) * | 2005-01-11 | 2006-07-27 | Seiko Epson Corp | Form processing device |
CN1932795A (en) * | 2006-10-10 | 2007-03-21 | 青岛中科恒信信息技术有限公司 | Examination paper intelligent setting questions and organizing system |
CN103902662A (en) * | 2014-03-06 | 2014-07-02 | 杭州施强软件开发有限公司 | Test question generating method based on browser |
CN103914567A (en) * | 2014-04-23 | 2014-07-09 | 北京奇虎科技有限公司 | Objective test question answer matching method and objective test question answer matching device |
CN103927552A (en) * | 2014-04-23 | 2014-07-16 | 北京奇虎科技有限公司 | Method and device for matching answers of target test questions |
CN105719523A (en) * | 2014-12-04 | 2016-06-29 | 北大方正集团有限公司 | Generation method and generation system of test paper |
Non-Patent Citations (1)
Title |
---|
王红玉: "基于网上阅卷的OMR扫描图像识别系统的设计与实现", 《中国优秀硕士学位论文全文数据库》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104615538B (en) | A kind of mobile phone application testing method based on mobile phone interface control element | |
CN107657255B (en) | Network marking method and device, readable storage medium and electronic equipment | |
US7843450B2 (en) | System and method for filtering point clouds | |
US20080043035A1 (en) | System and method for filtering a point cloud | |
US10761721B2 (en) | Systems and methods for interactive image caricaturing by an electronic device | |
CN106610829B (en) | Webpage screenshot method and device | |
KR101950126B1 (en) | Mathematical formula processing method, device, apparatus and computer storage medium | |
CN107977205A (en) | Gui interface automatically creates method and system | |
WO2022247823A1 (en) | Image detection method, and device and storage medium | |
CN106484990A (en) | A kind of engine test data three-dimensional Waterfall plot is rebuild, is shown and analysis method | |
US20070065017A1 (en) | Genetic family-tree object recognition | |
US11906441B2 (en) | Inspection apparatus, control method, and program | |
US9619900B2 (en) | Systems and methods for identifying anomalous test item renderings | |
Chen et al. | UI layers merger: merging UI layers via visual learning and boundary prior | |
US10430458B2 (en) | Automated data extraction from a chart from user screen selections | |
CN112084103B (en) | Interface test method, device, equipment and medium | |
US9881210B2 (en) | Generating a computer executable chart visualization by annotating a static image | |
CN108122269A (en) | Test question generation system and its method based on paper image | |
JP2017111500A (en) | Character recognizing apparatus, and program | |
Wimmer et al. | SketchingInterfaces: a tool for automatically generating high-fidelity user interface mockups from hand-drawn sketches | |
EP2602712A1 (en) | Program-producing device and image control system | |
CN106503070A (en) | A kind of engine test data three-dimensional Waterfall plot method for reconstructing | |
TW201822132A (en) | Examination question generating system based on examination paper image and method thereof | |
US10514779B2 (en) | System and method for measuring association between screen resolution and mouse movement speed, recording medium, and computer program product | |
CN112598503A (en) | OCR recognition system and method based on credit investigation recognition |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180605 |
|
WW01 | Invention patent application withdrawn after publication |