CN106919904A - The distribution method and device of a kind of electronic test paper - Google Patents
The distribution method and device of a kind of electronic test paper Download PDFInfo
- Publication number
- CN106919904A CN106919904A CN201710048596.6A CN201710048596A CN106919904A CN 106919904 A CN106919904 A CN 106919904A CN 201710048596 A CN201710048596 A CN 201710048596A CN 106919904 A CN106919904 A CN 106919904A
- Authority
- CN
- China
- Prior art keywords
- gray
- answer region
- contrasted
- test paper
- scored
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/412—Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
- G06V10/225—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition based on a marking or identifier characterising the area
Abstract
The distribution method and device of a kind of electronic test paper that the present invention is provided, obtain electronic test paper to be scored, and divide the answer region of the electronic test paper to be scored, answer region to be contrasted is extracted in the answer region, and according to the gray value of pixel in the answer region to be contrasted, calculate the gray-scale intensity in the answer region to be contrasted, and be compared the gray-scale intensity in the answer region to be contrasted and preset gray-scale intensity, when this is when the gray-scale intensity in the answer region for contrasting is less than the preset gray-scale intensity, determine that the examination question in the answer region to be contrasted has been answered, and send to scoring terminal the electronic test paper to be scored.It is compared with the preset gray-scale intensity by by the gray-scale intensity in answer region to be contrasted in electronic test paper to be scored, determine that the examination question in the answer region to be contrasted has been answered, and the electronic test paper to be scored is distributed to scoring terminal, the operation of distribution paper can be simplified, the distribution efficiency of electronic test paper to be scored is improved.
Description
Technical field
The invention belongs to net marking field, more particularly to a kind of electronic test paper distribution method and device.
Background technology
Image recognition technology is a key areas of artificial intelligence.Carrying out net marking using image recognition technology can
Efficiency of marking examination papers is improved with great.
Understanding and grasp for investigation examinee in all directions to knowledge, have multiple tracks choosing and inscribe in usual paper, answering
During topic, examinee need selection the examination question to be answered, and with Pencil with 2B hardness choose examination question before make marks, then to choose examination question carry out
Answer.When scoring paper, if computer recognizes the mark before examination question, then it is assumed that the examination question has been answered, and
By welltesting software to scoring terminal, by marking examination papers, teacher is scored.If all examination questions in paper all do not make marks, work as meter
When calculation machine does not recognize mark, the paper will be sent to the terminal of distribution paper as abnormal paper, by distribution paper
Teacher select the paper answered, and by the welltesting software answered to the scoring terminal, by marking examination papers, teacher is scored.
In the method for above-mentioned distribution paper, the paper answered is selected by the teacher of distribution paper, then be distributed, can made
The operation that paper must be distributed is excessively complicated, and then causes the efficiency for distributing paper too low.
The content of the invention
The present invention provides a kind of distribution method and device of electronic test paper, it is intended to solve the complex operation of distribution paper, point
Send out the low problem of the efficiency of paper.
A kind of distribution method of electronic test paper that the present invention is provided, including:Electronic test paper to be scored is obtained, and divides this and treated
Score the answer region of electronic test paper, extract answer region to be contrasted in the answer region, and to be contrasted answered according to this
The gray value of pixel, calculates the gray-scale intensity in the answer region to be contrasted in topic region, and by the answer area to be contrasted
The gray-scale intensity in domain is compared with preset gray-scale intensity, when the gray-scale intensity in the answer region to be contrasted is less than the preset ash
During degree density, determine that the examination question in the answer region to be contrasted has been answered, and the electronic test paper to be scored is sent to scoring
Terminal.
A kind of dispensing device of electronic test paper that the present invention is provided, described device includes:Division module, computing module and really
Cover half block;
Division module, for obtaining electronic test paper to be scored, and divides the answer region of the electronic test paper to be scored, and calculates
Module, for extracting answer region to be contrasted in the answer region, and according to pixel in the answer region to be contrasted
Gray value, calculate the gray-scale intensity in the answer region to be contrasted, and by the gray-scale intensity in the answer region to be contrasted with
Preset gray-scale intensity is compared, determining module, and the preset ash is less than for the gray-scale intensity when the answer region to be contrasted
During degree density, determine that the examination question in the answer region to be contrasted has been answered, and the electronic test paper to be scored is sent to scoring
Terminal.
The distribution method and device of a kind of electronic test paper that the present invention is provided, obtain electronic test paper to be scored, and division should
The answer region of electronic test paper to be scored, extracts answer region to be contrasted in the answer region, and to be contrasted according to this
The gray value of pixel in answer region, calculates the gray-scale intensity in the answer region to be contrasted, and by the answer to be contrasted
The gray-scale intensity in region is compared with preset gray-scale intensity, when the gray-scale intensity in the answer region to be contrasted is preset less than this
During gray-scale intensity, determine that the examination question in the answer region to be contrasted has been answered, and the electronic test paper to be scored is sent to commenting
Divide terminal.Compared with prior art, beneficial effect is the present invention:By by answer area to be contrasted in electronic test paper to be scored
The gray-scale intensity in domain is compared with the preset gray-scale intensity, determines that the examination question in the answer region to be contrasted has been answered,
And the electronic test paper to be scored is distributed to scoring terminal, and the operation of distribution paper can be simplified, improve electronic test paper to be scored
Distribution efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention.
Fig. 1 is that a kind of distribution method of the electronic test paper that first embodiment of the invention is provided realizes schematic flow sheet;
Fig. 2 is that a kind of distribution method of the electronic test paper that second embodiment of the invention is provided realizes schematic flow sheet;
Fig. 3 is the schematic diagram of the electronic test paper a kind of to be scored that second embodiment of the invention is provided;
Fig. 4 is the schematic diagram of a kind of preset answering pattern plate that second embodiment of the invention is provided;
Fig. 5 is a kind of structural representation of the dispensing device of electronic test paper that third embodiment of the invention is provided;
Fig. 6 is a kind of structural representation of the dispensing device of electronic test paper that fourth embodiment of the invention is provided.
Specific embodiment
To enable that goal of the invention of the invention, feature, advantage are more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described reality
It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, people in the art
The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The distribution method of electronic test paper provided in an embodiment of the present invention can apply to personal computer, notebook computer,
In all of intelligent terminal such as smart mobile phone or panel computer.
Refer to Fig. 1, a kind of distribution method of electronic test paper that Fig. 1 is provided for first embodiment of the invention realizes flow
Schematic diagram, be can be applied in all intelligent terminals, and the distribution method of the electronic test paper shown in Fig. 1 is mainly included the following steps that:
S101, electronic test paper to be scored is obtained, and divide the answer region of the electronic test paper to be scored.
The electronic test paper to be scored can be the image of answering card, can also be the image of paper for having completed to answer.Obtain
The mode for taking the electronic test paper to be scored is not limited, and can be treated by obtaining this after scoring paper is scanned to papery
Scoring electronic test paper, it is also possible to by from direct access in electronic test paper score for being pre-stored in terminal, can also be by reception
The electronic test paper to be scored that server or other terminals send carrys out direct access.The answer region includes trying the electronics to be scored
Region, examination question and examination question sequence number that examination question in volume is answered.
S102, answer region to be contrasted is extracted in the answer region, and according to picture in the answer region to be contrasted
The gray value of vegetarian refreshments, calculates the gray-scale intensity in the answer region to be contrasted, and the gray scale in the answer region to be contrasted is close
Degree is compared with preset gray-scale intensity.
The answer region to be contrasted is the region answered to the examination question in the answer region.The gray-scale intensity is single
The gray value average value of individual pixel.The preset gray-scale intensity is that the gray scale pre-set in the answer region to be contrasted is close
Degree.
S103, when this wait the answer region for contrasting gray-scale intensity be less than the preset gray-scale intensity when, it is determined that this waits to contrast
Answer region in examination question answered, and by the electronic test paper to be scored send to scoring terminal.
The scoring terminal is the terminal scored the electronic test paper to be marked examination papers.
In the embodiment of the present invention, electronic test paper to be scored is obtained, and divide the answer region of the electronic test paper to be scored,
Answer region to be contrasted is extracted in the answer region, and according to the gray value of pixel in the answer region to be contrasted, is calculated
Go out the gray-scale intensity in the answer region to be contrasted, and by the gray-scale intensity in the answer region to be contrasted and preset gray-scale intensity
It is compared, when this is when the gray-scale intensity in the answer region for contrasting is less than the preset gray-scale intensity, determines that this to be contrasted is answered
Examination question in topic region has been answered, and the electronic test paper to be scored is sent to scoring terminal.By will electronic test paper be scored
In the gray-scale intensity in answer region to be contrasted be compared with the preset gray-scale intensity, in determining the answer region to be contrasted
Examination question answered, and the electronic test paper to be scored is distributed to scoring terminal, the operation of distribution paper can be simplified, improve
The distribution efficiency of electronic test paper to be scored.
Refer to Fig. 2, a kind of distribution method of electronic test paper that Fig. 2 is provided for second embodiment of the invention realizes flow
Schematic diagram, be can be applied in all intelligent terminals, and the distribution method of the electronic test paper shown in Fig. 2 is mainly included the following steps that:
S201, electronic test paper to be scored is obtained, and divide the answer region of the electronic test paper to be scored.
The mode for obtaining the electronic test paper to be scored is not limited, and can be scanned by the paper to be scored to papery
After obtain the electronic test paper to be scored, it is also possible to by from direct access in the electronic test paper to be scored for being pre-stored in terminal, may be used also
With the electronic test paper to be scored that is sent by the reception server or other terminals come direct access.The electronic test paper to be scored can be with
It is the image of answering card, can also is the image of paper for having completed to answer, as shown in figure 3, Fig. 3 is electronic test paper to be scored
Schematic diagram.The answer region includes region, examination question and the examination question sequence number answered to the examination question in the electronic test paper to be scored.
Further, the answer region of the electronic test paper to be scored is divided, is specifically included:
Preset answering pattern plate is completely superposed with the electronic test paper to be scored, and by the mark in the preset answering pattern plate with
Mark in the electronic test paper to be scored overlaps.
The preset answering pattern plate be it is preset there is same format, identical content with the electronic test paper to be scored, and divide
The answering pattern plate in standard answer region, as shown in figure 4, Fig. 4 is the schematic diagram of the preset answering pattern plate.This shown in Fig. 4 is pre-
The division for putting answering pattern plate Plays answer region is only example, and the dividing mode in the standard answer region is not limited.
Mark in the preset answering pattern plate is overlapped with the mark in the electronic test paper to be scored, will be such as the black in Fig. 3 and Fig. 4
Mark is overlapped, and the electronic test paper to be scored can so be completely superposed with the preset answering pattern plate.It should be noted that
Mark in the electronic test paper to be scored is identical with position with the shape of the mark in the preset answering pattern plate, quantity.
In using the center position coordinates in the preset answering pattern plate Plays answer region as the electronic test paper to be scored
The center position coordinates in the answer region, with the boundary line in the boundary line in the standard answer region answer region, divide
Go out multiple answer regions.
The standard answer region is the answer region of preset standard in the preset answering pattern plate.The standard answer region
Shape is not construed as limiting, and can be rectangle, can be circle, can also be ellipse.When the preset answering pattern plate is waited to score with this
After the mark of electronic test paper overlaps, sat the center position coordinates in the standard answer region as the center in the answer region
Mark, using the boundary line in the standard answer region as the answer region boundary line, it is ensured that the answer region and the standard
Answer region is identical.
S202, answer region to be contrasted is extracted in the answer region, and according in the answer region to be contrasted
The gray value of pixel, calculates the gray-scale intensity in the answer region to be contrasted, and by the gray scale in the answer region to be contrasted
Density is compared with preset gray-scale intensity.
The answer region to be contrasted is the region answered to the examination question in the answer region.The gray-scale intensity is single
The gray value average value of individual pixel.
Further, answer region to be contrasted is extracted in the answer region, is specifically included:
Obtain the center position coordinates in the answer region and the corresponding relation of examination question sequence number in the answer region.
Because the standard answer region in the preset answering pattern plate is identical with the answer region in the electronic test paper to be scored,
Examination question sequence number is right in the center position coordinates in the standard answer region that can be prestored by acquisition and the standard answer region
The center position coordinates that should be related to obtain answer region and the corresponding relation of examination question sequence number in the answer region, can also pass through
The center position coordinates for scanning the answer region obtain answer region with the examination question sequence number of preset position in the answer region
The corresponding relation of examination question sequence number in center position coordinates and the answer region.
Target examination question sequence number is chosen, determines that the corresponding center of the target examination question sequence number is sat according to the corresponding relation
Mark.
The answer region to be contrasted is searched in the electronic test paper to be scored according to the center position coordinates.
When choosing target examination question sequence number, can be chosen according to the order of the examination question sequence number for prestoring, can also be by carrying
The examination question sequence number in the answer region is taken to choose.Center position coordinates are searched by according to target examination question sequence number, according in this
Heart position coordinates searches the answer region to be contrasted, in this manner it is possible to the answer region where determining the target examination question sequence number
Whether answer, eliminate the flow whether examination question corresponding to the manual reviews target examination question sequence number answers, simplify operation.
Further, according to the gray value of pixel in the answer region to be contrasted, the answer area to be contrasted is calculated
The gray-scale intensity in domain, specifically includes:
Target pixel points of the gray value less than preset gray value are chosen in the pixel in the answer region to be contrasted.
The preset gray value is the gray value in the answer region for pre-setting to be contrasted, and the preset gray value can be according to reality
Border situation is configured, and when this is wait the word or more figure that are included in the answer region for contrasting, the preset gray value is smaller,
When this is when the word or the color of figure included in the answer region for contrasting are for light color, the preset gray value is larger.Need
Bright, the preset gray value in each answer region to be contrasted can be with identical in the electronic test paper to be scored, it is also possible to different.
Gray value to the target pixel points carries out summation operation, obtain gray scale and, and treat right according to the gray scale and with this
The number of pixel in the answer region of ratio, obtains the gray-scale intensity in the answer region to be contrasted.
The target pixel points are pixel of the pixel value less than the preset gray value in the answer region.
S203, when this wait the answer region for contrasting gray-scale intensity be less than the preset gray-scale intensity when, it is determined that this waits to contrast
Answer region in examination question answered, and by the electronic test paper to be scored send to scoring terminal.
When this is when the gray-scale intensity in the answer region for contrasting is less than the preset gray-scale intensity, the answer region to be contrasted
Contain the deeper pixel of color, i.e. illustrate there is the vestige answered in the answer region to be contrasted, it may be determined that this is treated
Examination question in the answer region of contrast has been answered.
Further, by the electronic test paper to be scored send to scoring terminal, specially:
Paper to be scored comprising the target examination question sequence number is sent to target scoring terminal.
Target scoring terminal is the terminal scored the target examination question sequence number.According in actual applications, this is to be evaluated
Divide each examination question sequence number correspondence different target scoring terminal in electronic test paper, when it is determined that thering is multiple to answer in the electronic test paper to be scored
When examination question in topic region has been answered, the electronic test paper to be scored can be sent to multiple targets scoring terminal, the plurality of mesh
Mark scoring terminal can be with identical, it is also possible to different.For example, the electronic test paper to be scored includes answer region A and answer region B,
When it is determined that the examination question 2 in examination question 1 and answer region B in the A of answer region is answered, by the electronic test paper to be scored send to
The scoring terminal of numbering 1 corresponding with the sequence number 1 of examination question 1, the electronic test paper to be scored is sent to the sequence number 2 pairs with examination question 2
The scoring terminal of the numbering 2 answered.
S204, when this wait the answer region for contrasting gray-scale intensity be more than or equal to the preset gray-scale intensity when, it is determined that should
Examination question in answer region to be contrasted is not answered.
S205, judge whether the gray-scale intensity in the electronic test paper to be scored in all of answer region is all higher than or is equal to
The preset gray-scale intensity.
S206, it is all higher than or preset equal to this when the gray-scale intensity in all of answer region in the electronic test paper to be scored
During gray-scale intensity, determine that the examination question in the electronic test paper to be scored in all of answer region is not answered, and this is to be evaluated
Electronic test paper is divided to be chosen as 0 point.
It is all higher than when the gray-scale intensity in all of answer region in the electronic test paper to be scored or equal to the preset gray scale
During density, illustrate that the electronic test paper to be scored is not answered vestige.The electronic test paper to be scored is test blank, and this is waited to score
Electronic test paper is chosen as 0 point.So, for test blank, the process of distribution and scoring can be saved, greatly saves distribution and treat
The workload of scoring electronic test paper and the workload scored the electronic test paper to be scored, simplify the operation of distribution and scoring,
Improve distribution efficiency and scoring efficiency.
In the embodiment of the present invention, electronic test paper to be scored is obtained, and divide the answer region of the electronic test paper to be scored,
Answer region to be contrasted is extracted in the answer region, and according to the gray value of the pixel in the answer region to be contrasted,
The gray-scale intensity in the answer region to be contrasted is calculated, and the gray-scale intensity in the answer region to be contrasted is close with preset gray scale
Degree is compared, and when this is when the gray-scale intensity in the answer region for contrasting is less than the preset gray-scale intensity, determines that this is to be contrasted
Examination question in answer region has been answered, and the electronic test paper to be scored is sent to scoring terminal, when the answer area to be contrasted
When the gray-scale intensity in domain is more than or equal to the preset gray-scale intensity, determine that the examination question in the answer region to be contrasted is not made
Answer, judge whether the gray-scale intensity in the electronic test paper to be scored in all of answer region is all higher than or equal to the preset gray scale
Density, is all higher than or equal to the preset gray-scale intensity when the gray-scale intensity in all of answer region in the electronic test paper to be scored
When, determine that the examination question in the electronic test paper to be scored in all of answer region is not answered, and the electronics to be scored is tried
Volume is chosen as 0 point.Enter with the preset gray-scale intensity by by the gray-scale intensity in answer region to be contrasted in electronic test paper to be scored
Row compares, and determines that the examination question in the answer region to be contrasted has been answered, and the electronic test paper to be scored is distributed into scoring
Terminal, can simplify the operation of distribution paper, improve the distribution efficiency of electronic test paper to be scored.
Fig. 5 is referred to, Fig. 5 is a kind of structural representation of the dispensing device of electronic test paper that third embodiment of the invention is provided
Figure, for convenience of description, illustrate only the part related to the embodiment of the present invention.The dispensing device of the electronic test paper of Fig. 5 examples
Can be the executive agent of the distribution method of the electronic test paper that earlier figures 1 and embodiment illustrated in fig. 2 are provided, can be electronic test paper
Dispensing device or electronic test paper dispensing device in a control module.The dispensing device dress of the electronic test paper of Fig. 5 examples
Put, mainly include:Division module 501, computing module 502 and determining module 503.Each functional module describes in detail as follows above:
Division module 501, for obtaining electronic test paper to be scored, and divides the answer region of the electronic test paper to be scored.
The electronic test paper to be scored can be the image of answering card, can also be the image of paper for having completed to answer.Should
Answer region includes region, examination question and the examination question sequence number answered to the examination question in the electronic test paper to be scored.
Computing module 502, for extracting answer region to be contrasted in the answer region, and to be contrasted answers according to this
The gray value of pixel, calculates the gray-scale intensity in the answer region to be contrasted in topic region, and by the answer area to be contrasted
The gray-scale intensity in domain is compared with preset gray-scale intensity.
The answer region to be contrasted is the region answered to the examination question in the answer region.The gray-scale intensity is single
The gray value average value of individual pixel.The preset gray-scale intensity is that the gray scale pre-set in the answer region to be contrasted is close
Degree.
Determining module 503, for when this wait the answer region for contrasting gray-scale intensity be less than the preset gray-scale intensity when, really
Examination question in the fixed answer region to be contrasted has been answered, and the electronic test paper to be scored is sent to scoring terminal.
The scoring terminal is the terminal scored the electronic test paper to be marked examination papers.
Details is not use up in the embodiment of the present invention, refer to the first embodiment and second embodiment shown in Fig. 1 and Fig. 2,
Will not be repeated here.In the embodiment of the present invention, division module 501 is waited to score for obtaining electronic test paper to be scored, and dividing this
The answer region of electronic test paper, computing module 502 is used to extract answer region to be contrasted in the answer region, and according to this
The gray value of pixel in answer region to be contrasted, calculates the gray-scale intensity in the answer region to be contrasted, and this is treated into right
The gray-scale intensity in the answer region of ratio is compared with preset gray-scale intensity, and determining module 503 is used for when the answer to be contrasted
When the gray-scale intensity in region is less than the preset gray-scale intensity, determine that the examination question in the answer region to be contrasted has been answered, and will
The electronic test paper to be scored is sent to scoring terminal.By the way that the gray scale in answer region to be contrasted in electronic test paper to be scored is close
Degree is compared with the preset gray-scale intensity, determines that the examination question in the answer region to be contrasted has been answered, and this is to be evaluated
Divide electronic test paper to be distributed to scoring terminal, the operation of distribution paper can be simplified, improve the distribution efficiency of electronic test paper to be scored.
Fig. 6 is referred to, Fig. 6 is a kind of structural representation of the dispensing device of electronic test paper that fourth embodiment of the invention is provided
Figure, for convenience of description, illustrate only the part related to the embodiment of the present invention.The dispensing device of the electronic test paper of Fig. 6 examples
Can be the executive agent of the distribution method of the electronic test paper that earlier figures 1 and embodiment illustrated in fig. 2 are provided, can be electronic test paper
Dispensing device or electronic test paper dispensing device in a control module.The dispensing device of the electronic test paper of Fig. 5 examples, it is main
Including:Division module 601, computing module 602, determining module 603, judge module 604 and grading module 605, wherein, calculate
Module 602 includes acquisition module 612, chooses module 622, searching modul 632 and gray scale computing module 642, each function mould of the above
Block describes in detail as follows:
Division module 601, for obtaining electronic test paper to be scored, and divides the answer region of the electronic test paper to be scored.
The answer region to be contrasted is the region answered to the examination question in the answer region.The gray-scale intensity is single
The gray value average value of individual pixel.The preset gray-scale intensity is that the gray scale pre-set in the answer region to be contrasted is close
Degree.
Further, division module 601 also includes:
Coincidence module, for preset answering pattern plate to be completely superposed with the electronic test paper to be scored, and by the preset answer
Mark in template overlaps with the mark in the electronic test paper to be scored.
The preset answering pattern plate be it is preset there is same format, identical content with the electronic test paper to be scored, and divide
The answering pattern plate in standard answer region.
Region division module, for being treated as this using the center position coordinates in the preset answering pattern plate Plays answer region
The center position coordinates in the answer region in scoring electronic test paper, with the boundary line in the standard answer region answer area
The boundary line in domain, marks off multiple answer regions.The standard answer region is answering for preset standard in the preset answering pattern plate
Topic region.
Computing module 602, for extracting answer region to be contrasted in the answer region, and to be contrasted answers according to this
The gray value of pixel, calculates the gray-scale intensity in the answer region to be contrasted in topic region, and by the answer area to be contrasted
The gray-scale intensity in domain is compared with preset gray-scale intensity.
The answer region to be contrasted is the region answered to the examination question in the answer region.The gray-scale intensity is single
The gray value average value of individual pixel.The preset gray-scale intensity is that the gray scale pre-set in the answer region to be contrasted is close
Degree.
Determining module 603, for when this wait the answer region for contrasting gray-scale intensity be less than the preset gray-scale intensity when, really
Examination question in the fixed answer region to be contrasted has been answered, and the electronic test paper to be scored is sent to scoring terminal.
The preset gray value is the gray value for pre-setting, and the preset gray value can in the light of actual conditions be configured,
When the word or more figure of examination question is included in the answer region, the preset gray value is smaller, is included when in the answer region
Examination question word or figure color for light color when, the preset gray value is larger.
Further, computing module 602 includes:
Acquisition module 612, center position coordinates and examination question sequence number in the answer region for obtaining the answer region
Corresponding relation.
Module 622 is chosen, for choosing target examination question sequence number, target examination question sequence number correspondence is determined according to the corresponding relation
The center position coordinates.
Searching modul 632 is to be contrasted for searching this in the electronic test paper to be scored according to the center position coordinates
Answer region.
Further, computing module 602 also includes:
Gray scale computing module 642, for choosing gray value in the pixel in the answer region to be contrasted less than preset
The target pixel points of gray value.
Gray scale computing module 642, is additionally operable to carry out summation operation to the gray value of the target pixel points, obtain gray scale and,
And according to the number of the pixel in the gray scale and the answer region to be contrasted with this, obtain the ash in the answer region to be contrasted
Degree density.
Further, it is determined that module 603, is additionally operable to send the paper to be scored comprising the target examination question sequence number to the mesh
Mark scoring terminal.
Further, the device also includes:
Determining module 603, is additionally operable to be more than or equal to the preset gray scale when the gray-scale intensity in the answer region to be contrasted
During density, determine that the examination question in the answer region to be contrasted is not answered.
Judge module 604, for judging whether is gray-scale intensity in the electronic test paper to be scored in all of answer region
It is all higher than or equal to the preset gray-scale intensity.
Grading module 605, for being all higher than when the gray-scale intensity in all of answer region in the electronic test paper to be scored
Or during equal to the preset gray-scale intensity, determine that the examination question in the electronic test paper to be scored in all of answer region is not made
Answer, and the electronic test paper to be scored is chosen as 0 point.
Details is not use up in the embodiment of the present invention, refer to the first embodiment and second embodiment shown in Fig. 1 and Fig. 2,
Will not be repeated here.
In the embodiment of the present invention, division module 601 is used to obtain electronic test paper to be scored, and divides the electronics examination to be scored
The answer region of volume, computing module 602 is used to extract answer region to be contrasted in the answer region, and is waited to contrast according to this
Answer region in pixel gray value, calculate the gray-scale intensity in the answer region to be contrasted, and this to be contrasted is answered
The gray-scale intensity for inscribing region is compared with preset gray-scale intensity, and determining module 603 is used for when the answer region to be contrasted
When gray-scale intensity is less than the preset gray-scale intensity, determine that the examination question in the answer region to be contrasted has been answered, and this is to be evaluated
Electronic test paper is divided to send to scoring terminal, determining module 603 is additionally operable to be more than when the gray-scale intensity in the answer region to be contrasted
Or during equal to the preset gray-scale intensity, determining that the examination question in the answer region to be contrasted is not answered, judge module 604 is used for
Judge whether the gray-scale intensity in the electronic test paper to be scored in all of answer region is all higher than or close equal to the preset gray scale
Degree, grading module 605 is used for when the gray-scale intensity in all of answer region in the electronic test paper to be scored is all higher than or is equal to
During the preset gray-scale intensity, determine that the examination question in the electronic test paper to be scored in all of answer region is not answered, and will
The electronic test paper to be scored is chosen as 0 point.By by the gray-scale intensity in answer region to be contrasted in electronic test paper to be scored with should
Preset gray-scale intensity is compared, and determines that the examination question in the answer region to be contrasted has been answered, and by the electronics to be scored
Welltesting software can simplify the operation of distribution paper to scoring terminal, improve the distribution efficiency of electronic test paper to be scored.
In multiple embodiments provided herein, it should be understood that disclosed system, apparatus and method, can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the module
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple module or components
Can combine or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other for discussing or direct-coupling or communication linkage can be the indirect couplings of device or module by some interfaces
Close or communication linkage, can be electrical, mechanical or other forms.
The module that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as module
The part for showing can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple
On mixed-media network modules mixed-media.Some or all of module therein can be according to the actual needs selected to realize the mesh of this embodiment scheme
's.
In addition, during each functional module in each embodiment of the invention can be integrated in a processing module, it is also possible to
It is that modules are individually physically present, it is also possible to which two or more modules are integrated in a module.Above-mentioned integrated mould
Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
If the integrated module is to realize in the form of software function module and as independent production marketing or use
When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It should be noted that for foregoing each method embodiment, in order to simplicity is described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention not by described by sequence of movement limited because
According to the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs
Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiments.
It is more than the description to the distribution method and device of electronic test paper provided by the present invention, for the technology of this area
Personnel, according to the thought of the embodiment of the present invention, will change in specific embodiments and applications, to sum up, this
Description should not be construed as limiting the invention.
Claims (10)
1. a kind of distribution method of electronic test paper, it is characterised in that methods described includes:
Electronic test paper to be scored is obtained, and divides the answer region of the electronic test paper to be scored;
Answer region to be contrasted is extracted in the answer region, and according to pixel in the answer region to be contrasted
Gray value, calculates the gray-scale intensity in the answer region to be contrasted, and by the gray-scale intensity in the answer region to be contrasted
It is compared with preset gray-scale intensity;
When the gray-scale intensity wait the answer region for contrasting is less than the preset gray-scale intensity, it is determined that described to be contrasted answers
Examination question in topic region has been answered, and the electronic test paper to be scored is sent to scoring terminal.
2. method according to claim 1, it is characterised in that described to extract answer to be contrasted in the answer region
Region, specifically includes:
Obtain the corresponding relation of the examination question sequence number in the center position coordinates in the answer region and the answer region;
Target examination question sequence number is chosen, determines that the corresponding center of the target examination question sequence number is sat according to the corresponding relation
Mark;
The answer region to be contrasted is searched in the electronic test paper to be scored according to the center position coordinates.
3. method according to claim 1, it is characterised in that pixel in answer region to be contrasted described in the basis
Gray value, calculate the gray-scale intensity in the answer region to be contrasted, specifically include:
Target pixel points of the gray value less than preset gray value are chosen in the pixel in the answer region to be contrasted;
Gray value to the target pixel points carries out summation operation, obtain gray scale and, and treated according to the gray scale and with described
The number of pixel in the answer region of contrast, obtains the gray-scale intensity in the answer region to be contrasted.
4. method according to claim 2, it is characterised in that described to send to scoring eventually the electronic test paper to be scored
End, specially:
Paper to be scored comprising the target examination question sequence number is sent to target scoring terminal.
5. method according to claim 1, it is characterised in that pixel in answer region to be contrasted described in the basis
Gray value, calculate the gray-scale intensity in the answer region to be contrasted, and the gray scale in the answer region to be contrasted is close
After degree is compared with preset gray-scale intensity, also include:
When the gray-scale intensity wait the answer region for contrasting is more than or equal to the preset gray-scale intensity, it is determined that described treat right
Examination question in the answer region of ratio is not answered;
Whether the gray-scale intensity in electronic test paper to be scored described in judging in all of answer region is all higher than or pre- equal to described
Put gray-scale intensity;
It is all higher than when the gray-scale intensity in all of answer region in the electronic test paper to be scored or equal to the preset gray scale
During density, it is determined that the examination question in the electronic test paper to be scored in all of answer region is not answered, and will be described to be evaluated
Electronic test paper is divided to be chosen as 0 point.
6. a kind of dispensing device of electronic test paper, it is characterised in that described device includes:
Division module, for obtaining electronic test paper to be scored, and divides the answer region of the electronic test paper to be scored;
Computing module, for extracting answer region to be contrasted in the answer region, and according to the answer to be contrasted
The gray value of pixel in region, calculates the gray-scale intensity in the answer region to be contrasted, and by the answer to be contrasted
The gray-scale intensity in region is compared with preset gray-scale intensity;
Determining module, for when the gray-scale intensity wait the answer region for contrasting be less than the preset gray-scale intensity when, it is determined that
Examination question in the answer region to be contrasted has been answered, and the electronic test paper to be scored is sent to scoring terminal.
7. device according to claim 6, it is characterised in that the computing module includes:
Acquisition module, for obtain the center position coordinates in the answer region with the answer region examination question sequence number it is corresponding
Relation;
Module is chosen, for choosing target examination question sequence number, determines that the target examination question sequence number is corresponding according to the corresponding relation
The center position coordinates;
Searching modul, for searching described to be contrasted answer in the electronic test paper to be scored according to the center position coordinates
Topic region.
8. device according to claim 6, it is characterised in that the computing module includes:
Gray scale computing module, preset gray value is less than for choosing gray value in the pixel in the answer region to be contrasted
Target pixel points;
The gray scale computing module, is additionally operable to carry out summation operation to the gray value of the target pixel points, obtain gray scale and, and
According to the gray scale and with the answer region to be contrasted in pixel number, obtain the answer region to be contrasted
Gray-scale intensity.
9. device according to claim 7, it is characterised in that
The determining module, is additionally operable to send the paper to be scored comprising the target examination question sequence number to target scoring terminal.
10. device according to claim 1, it is characterised in that described device also includes:
The determining module, is additionally operable to be more than or equal to the preset gray scale when the gray-scale intensity in the answer region to be contrasted
During density, it is determined that the examination question in the answer region to be contrasted is not answered;
Judge module, for judging whether the gray-scale intensity in the electronic test paper to be scored in all of answer region is all higher than
Or equal to the preset gray-scale intensity;
Grading module, for when the gray-scale intensity in all of answer region in the electronic test paper to be scored is all higher than or is equal to
During the preset gray-scale intensity, it is determined that the examination question in the electronic test paper to be scored in all of answer region is not answered,
And the electronic test paper to be scored is chosen as 0 point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710048596.6A CN106919904A (en) | 2017-01-23 | 2017-01-23 | The distribution method and device of a kind of electronic test paper |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710048596.6A CN106919904A (en) | 2017-01-23 | 2017-01-23 | The distribution method and device of a kind of electronic test paper |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106919904A true CN106919904A (en) | 2017-07-04 |
Family
ID=59453496
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710048596.6A Pending CN106919904A (en) | 2017-01-23 | 2017-01-23 | The distribution method and device of a kind of electronic test paper |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106919904A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110008858A (en) * | 2019-03-20 | 2019-07-12 | 联想(北京)有限公司 | Paper methods of exhibiting and device, computer system and computer readable storage medium storing program for executing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5231663A (en) * | 1991-03-18 | 1993-07-27 | Earl Joseph G | Image processing system |
CN1619580A (en) * | 2004-09-03 | 2005-05-25 | 深圳市海云天科技有限公司 | Information identification method of full-filling information card |
CN105205300A (en) * | 2014-06-20 | 2015-12-30 | 北京鸿合智能系统股份有限公司 | Automatic adjustment examination paper go-over method and device |
CN105989347A (en) * | 2015-02-28 | 2016-10-05 | 科大讯飞股份有限公司 | Intelligent marking method and system of objective questions |
-
2017
- 2017-01-23 CN CN201710048596.6A patent/CN106919904A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5231663A (en) * | 1991-03-18 | 1993-07-27 | Earl Joseph G | Image processing system |
CN1619580A (en) * | 2004-09-03 | 2005-05-25 | 深圳市海云天科技有限公司 | Information identification method of full-filling information card |
CN105205300A (en) * | 2014-06-20 | 2015-12-30 | 北京鸿合智能系统股份有限公司 | Automatic adjustment examination paper go-over method and device |
CN105989347A (en) * | 2015-02-28 | 2016-10-05 | 科大讯飞股份有限公司 | Intelligent marking method and system of objective questions |
Non-Patent Citations (1)
Title |
---|
林开彬: "基于图像识别的无纸化阅卷空白题识别技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110008858A (en) * | 2019-03-20 | 2019-07-12 | 联想(北京)有限公司 | Paper methods of exhibiting and device, computer system and computer readable storage medium storing program for executing |
CN110008858B (en) * | 2019-03-20 | 2021-11-16 | 联想(北京)有限公司 | Test paper display method and device, computer system and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107563385B (en) | License plate character recognition method based on depth convolution production confrontation network | |
Soleimani et al. | UTSig: A Persian offline signature dataset | |
CN104463101B (en) | Answer recognition methods and system for character property examination question | |
CN108171297A (en) | A kind of answer card identification method and device | |
CN109583429A (en) | A kind of method and device for the middle application topic that corrects an examination paper | |
CN107909067A (en) | The examination system of intelligence generation answering card and mobile terminal Automated Assessment | |
CN108717441A (en) | The determination method and device of predicate corresponding to question template | |
CN107506350A (en) | A kind of method and apparatus of identification information | |
CN107590494A (en) | Answer sheet picture localization method, device, readable storage medium storing program for executing and electronic equipment | |
CN108509458A (en) | A kind of business object recognition methods and device | |
CN107463866A (en) | A kind of method of the hand-written laboratory report of identification for performance evaluation | |
CN104680545A (en) | Method for detecting existence of salient objects in optical images | |
CN112541922A (en) | Test paper layout segmentation method based on digital image, electronic equipment and storage medium | |
CN113159014A (en) | Objective question reading method, device, equipment and storage medium based on handwritten question numbers | |
CN108304562A (en) | One kind searching topic method, searches topic device and intelligent terminal | |
CN113934839A (en) | Method, equipment and storage medium for volume grouping according to knowledge points | |
CN111144270A (en) | Evaluation method and evaluation device for handwritten text neatness based on neural network | |
CN106919904A (en) | The distribution method and device of a kind of electronic test paper | |
CN110705442A (en) | Method for automatically acquiring test paper answers, terminal equipment and storage medium | |
CN116881427B (en) | Question-answering processing method and device, electronic equipment and storage medium | |
Zhang et al. | Improved colour‐to‐grey method using image segmentation and colour difference model for colour vision deficiency | |
CN107368696B (en) | Question analysis method and device and terminal equipment | |
CN109086441A (en) | Intelligent recommendation method and system for online answer | |
CN109460761A (en) | Bank card number detection and recognition methods based on dimension cluster and multi-scale prediction | |
CN106886996A (en) | Dividing method and device based on mathematical operation identifying code image |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170704 |