The content of the invention
The embodiment of the present invention provides a kind of answering card information collecting method and equipment, simply, easily to obtain answering card
Information, and improve its adaptability.
Therefore, the embodiment of the present invention provides following technical scheme:
A kind of answering card information collecting method, including:
Obtain the answering card of information to be collected;
The camera function of starting device and the answering card masterplate layout sketch plan for obtaining pre-production;
In interface display of taking pictures answering card masterplate layout sketch plan corresponding with the answering card;
Sketch plan guiding user is laid out according to the answering card masterplate and carries out adjustment of taking pictures, so that the answer for interface display of taking pictures
Snap gauge version layout sketch plan aligns with the answering card of the information to be collected;
The answering card is taken pictures, when taking pictures, intercepts the image of the camera capture of the equipment, and current
When truncated picture meets acquisition request message and reaches stability requirement, the answering card is obtained according to current truncated picture and believed
Breath;The current truncated picture reaches stability requirement and judged in the following manner:To current truncated picture and described
Answering card masterplate layout sketch plan carries out rim detection respectively, the edge graph of two images is obtained, by calculating this two images
Cross-correlation coefficient, the coincidence factor of peripheral frame area image is obtained after accumulation;If the coincidence factor exceedes the coincidence threshold of setting
Value, it is determined that current truncated picture reaches stability requirement;Otherwise, it determines current truncated picture is not up to stability requirement.
Preferably, methods described also includes making the answering card masterplate layout sketch plan in such a way:
Answer strap form layout is determined according to the answering card space of a whole page, the answering card space of a whole page marks provided with key point;
Set according to the position of the key point on the answer strap form space of a whole page one-to-one with the key point
Key point identifies frame;
Generation is laid out sketch plan with the answering card space of a whole page into the answering card masterplate of equal proportion.
Preferably, the image of the camera capture of the interception equipment, and meet information in current truncated picture
When collection requires and reaches stability requirement, according to current truncated picture, obtaining the answering card information includes:
(1) image of the camera capture of the equipment is intercepted, and judges whether current truncated picture meets that information is adopted
Collection requires;
(2) if it is, judging whether current truncated picture reaches stability requirement;If it is, the figure according to interception
As obtaining the answer card information, and show the first prompt message;
(3) otherwise, judge whether to exceed time threshold for the interface duration of taking pictures of the answering card or retake
Whether number exceedes frequency threshold value;
(4) if it is, showing the second prompt message, and select to operate in next step by user;
(5) otherwise, return to step (1).
Preferably, it is described to judge whether current truncated picture meets that acquisition request message includes:
Judge whether the key point mark coverage rate of the identification inframe of key point described in current truncated picture exceedes setting
Threshold value;
If it is, determine that current truncated picture meets acquisition request message;Otherwise, it determines current truncated picture is not
Meet acquisition request message.
Preferably, judge whether current truncated picture reaches stability requirement and also include:
Before rim detection is carried out to current truncated picture and answering card masterplate layout sketch plan, to current interception
Image carry out Fuzzy Processing.
Preferably, it is described to be included according to the truncated picture acquisition answering card information:
Exported current truncated picture as the answer card information.
Preferably, the image of the camera capture of the interception equipment, and judge whether current truncated picture is full
Sufficient acquisition request message includes:
The continuous image shooting at least three captured using different exposures to the camera of the equipment, including one
The image of normal exposure degree, and judge whether the image of the normal exposure degree meets acquisition request message;
It is described to be included according to the truncated picture acquisition answering card information:The image of the different exposures of shooting is carried out
Fusion, and exported the image after fusion as the answer card information.
Preferably, methods described also includes:
Before interface display of taking pictures answering card masterplate layout sketch plan corresponding with the answering card, according to the unique of setting
Mark selects answering card masterplate layout sketch plan corresponding with the answering card.
A kind of answering card information collecting device, the equipment have camera, and to provide camera function, the equipment is also wrapped
Include:
Starting module, for starting the camera function of the equipment;
Masterplate acquisition module, the answering card masterplate for obtaining pre-production are laid out sketch plan;
Display module, for general in interface display of taking pictures answering card masterplate layout corresponding with the answering card of information to be collected
Figure, so that user is laid out sketch plan according to the answering card masterplate carries out adjustment of taking pictures, the answering card masterplate for the interface display that makes to take pictures
Layout sketch plan aligns with the answering card of the information to be collected;
Data obtaining module, for being taken pictures to the answering card, when taking pictures, the camera for intercepting the equipment is caught
The image obtained, and when current truncated picture meets acquisition request message and reaches stability requirement, according to the figure currently intercepted
As obtaining the answer card information;The current truncated picture reaches stability requirement and judged in the following manner:To working as
Preceding truncated picture and answering card masterplate layout sketch plan carry out rim detection respectively, obtain the edge graph of two images, lead to
The cross-correlation coefficient for calculating this two images is crossed, the coincidence factor of peripheral frame area image is obtained after accumulation;If the coincidence
Rate exceedes the coincidence threshold value of setting, it is determined that current truncated picture reaches stability requirement;Otherwise, it determines current truncated picture
Not up to stability requirement.
Preferably, the equipment also includes:Answering card masterplate layout sketch plan makes module, for making answering card masterplate cloth
Office's sketch plan;
The answering card masterplate layout sketch plan, which makes module, to be included:
Layout units, for determining answer strap form layout according to the answering card space of a whole page, set on the answering card space of a whole page
There is key point mark;
Setting unit, set and the key on the answer strap form space of a whole page for the position according to the key point
The one-to-one key point identification frame of point;
Generation unit, sketch plan is laid out into the answering card masterplate of equal proportion with the answering card space of a whole page for generating.
Preferably, described information acquisition module includes:
Image interception module, the image that the pick-up lens for intercepting the equipment captures;
Control module, image interception operation is carried out for triggering described image interception module;
First judge module, for judging whether the current truncated picture of described image interception module meets that information gathering will
Ask;
Output module, for when first judge module judges that current truncated picture meets acquisition request message,
The answer card information is obtained according to truncated picture;
The display module, it is additionally operable to after the output module obtains the answer card information, the prompting letter of display first
Breath;
Second judge module, for judging that current truncated picture is unsatisfactory for information gathering and wanted in first judge module
When asking, judge whether exceed time threshold for the interface duration of taking pictures of the answering card;
3rd judge module, for judging that current truncated picture is unsatisfactory for information gathering and wanted in first judge module
When asking, judge to retake whether number exceedes frequency threshold value for the answering card;
4th judge module, for judging that current truncated picture meets acquisition request message in first judge module
Afterwards, judge whether current truncated picture reaches stability requirement;Performed if it is, triggering the output module according to interception
Image obtains the operation of the answer card information;Otherwise trigger the second judge module and the 3rd judge module performs respective judgement
Operation;4th judge module includes:Detection unit, for the current truncated picture of described image interception module and described
Answering card masterplate layout sketch plan carries out rim detection, obtains the coincidence factor of peripheral frame area image, and surpass in the coincidence factor
Determine that current truncated picture reaches stability requirement during the coincidence threshold value for crossing setting;Otherwise, it determines current truncated picture does not reach
To stability requirement;
The display module, be additionally operable to the interface duration of taking pictures for the answering card more than time threshold or
When retaking number and exceeding frequency threshold value, the second prompt message is shown, selects to operate in next step by user with prompting.
Preferably, first judge module, specifically for judging in the current truncated picture of described image interception module
Whether the key point mark coverage rate of the key point identification inframe exceedes given threshold;If it is, determine what is currently intercepted
Image meets acquisition request message;Otherwise, it determines current truncated picture is unsatisfactory for acquisition request message.
Preferably, the 4th judge module also includes:Processing unit, in the detection unit to currently intercepting
Before image and answering card masterplate layout sketch plan carry out rim detection, Fuzzy Processing is carried out to current truncated picture.
Preferably, the output module is specifically used for exporting current truncated picture as the answer card information.
Preferably, described image interception module, specifically for being caught using different exposures to the camera of the equipment
The continuous image shooting obtained at least three, including the image of a normal exposure degree;
Whether first judge module, the image specifically for judging the normal exposure degree meet that information gathering will
Ask;
The output module, the image of the different exposures specifically for described image interception module is shot are melted
Close, and exported the image after fusion as the answer card information.
Preferably, the equipment also includes:
Selecting module, it is general for selecting answering card masterplate corresponding with the answering card to be laid out according to the unique mark of setting
Figure.
Answering card information collecting method provided in an embodiment of the present invention and equipment, by shooting style, and when taking pictures,
Interface display of the taking pictures answering card masterplate layout sketch plan corresponding with answering card, guiding user carry out adjustment of taking pictures, make answering card
Alignd with its masterplate layout sketch plan, and answer card is taken pictures, so as to simply, easily collect answer card information.This hair
The scheme of bright embodiment is not only scanned into row information collection without optical character reader (OCR), and the quality requirement of answering card is dropped significantly
Low, the making for a small amount of answering card can even use printing, the method duplicated, thus be not present in conventional method because few
The problem of cost height measured printing and brought and corresponding universality difference, the threshold that standardization aids in examination is greatly reduced,
Dramatically reduce teacher comment operation, the workload pressure of paper.The scheme of the embodiment of the present invention is especially suitable for middle-size and small-size
In examination, test or operation automatic marking.
Embodiment
In order that those skilled in the art more fully understand the scheme of the embodiment of the present invention, below in conjunction with the accompanying drawings and implement
Mode is described in further detail to the embodiment of the present invention.
Answering card information collecting method provided in an embodiment of the present invention and equipment, using shooting style, and when taking pictures
Interface display of the taking pictures answering card masterplate layout sketch plan corresponding with answering card, guiding user carry out adjustment of taking pictures, make answering card
Align, and answer card taken pictures with its masterplate layout sketch plan, so as to it is accurate, intactly collect answer card information.
In actual applications, answering card typically designs according to the actual content of paper, as shown in figure 1, being an answer
The space of a whole page example of card.
The making of answering card masterplate layout sketch plan can design according to the space of a whole page of actual answering card, including size, length and width
Ratio, margin away from etc..In order to can quickly and accurately be positioned in follow-up take pictures, i.e., answering card masterplate is laid out sketch plan with answering
Topic card alignment, can also set some key points on answering card, position guiding when being mainly used in taking pictures.The key point can
To give an answering card for being provided with key point including location point and direction point, such as Fig. 2, wherein, the black on four angles
Labeled as location point, position guiding when being mainly used in taking pictures;One among left side and three density bullets among right side
Be not in the problem of answering card page turns upside down when being used primarily to ensure and taking pictures for direction point.
It should be noted that the setting of above-mentioned key point there can also be other manner, this embodiment of the present invention is not limited
It is fixed.Can be the selection that follow-up answering card masterplate is laid out sketch plan for example the key point can also include the Quick Response Code in Fig. 2
Foundation is provided.Moreover, key point mark can take different shapes and color, such as square, rectangle, circle etc..
In embodiments of the present invention, the making of answering card masterplate layout sketch plan can be carried out in the following manner:
(1) answer strap form layout is determined according to the answering card space of a whole page, for example can set corresponding with the answering card space of a whole page
Outer rim, or even angle frame can also be set on four angles of outer rim;The outer rim and the color of angle frame and the pass
The color of key point mark can be with identical, can also be different.
(2) set on the answer strap form space of a whole page according to the position of key point on answering card and corresponded with the key point
Key point identification frame.
(3) generation is laid out sketch plan with the answering card space of a whole page into the answering card masterplate of equal proportion.
Above-mentioned outer rim, angle frame, key point identify that the color of frame can be with identical, can also be different.Moreover, in outer rim
Display portion is fully transparent, and the ratio of each key point identification frame and corresponding key point is identical, and can surround completely
Corresponding key point mark.
Fig. 3 shows a kind of example of answering card masterplate layout sketch plan in the embodiment of the present invention.
It should be noted that generating answering card masterplate layout sketch plan according to answering card, the design of answering card can be made more
Flexibly, conveniently, can be arbitrarily devised according to being actually needed by user.Certainly, in actual applications, can also first design it is a kind of or
The answering card masterplate layout sketch plan of a variety of different specification forms, designs answering card, to this by user according to corresponding specification
Inventive embodiments do not limit.
Answering card information collecting method of the embodiment of the present invention, answering card is generated with answering card equal proportion to be taken pictures using above-mentioned
Masterplate is laid out sketch plan, as interactive interface of taking pictures, can effectively guide user by interface boundary with it is actually to be taken pictures
Answering card page boundary accurate alignment, avoids user from arbitrarily putting the position of camera and answering card to be taken pictures, so as to cause because
Effect of taking pictures is bad to influence the problem of follow-up identifies accuracy.
As shown in figure 4, being a kind of flow chart of answering card information collecting method of the embodiment of the present invention, comprise the following steps:
Step 401, the answering card of information to be collected is obtained.
Step 402, the camera function of starting device and obtain pre-production answering card masterplate layout sketch plan.
The equipment refers to the equipment with camera function, and in actual applications, the equipment can be that some are portable
Mobile terminal, such as smart mobile phone, smart camera, tablet personal computer or some fixed terminals, such as high photographing instrument, band are taken the photograph
PC as head etc..
It should be noted that after answering card masterplate layout sketch plan completes, can be directly deposited in the equipment;
Can be stored in server or other storage devices, when needed, then by the answering card masterplate be laid out sketch plan by network or
Other transmission means send the equipment to.Moreover, the startup of above-mentioned camera function and the acquisition of answering card masterplate layout sketch plan
The sequencing embodiment of the present invention of the two actions does not limit.
Step 403, in interface display of taking pictures answering card masterplate layout sketch plan corresponding with the answering card.
Step 404, sketch plan guiding user is laid out according to the answering card masterplate and carries out adjustment of taking pictures, so that interface of taking pictures shows
The answering card masterplate layout sketch plan shown aligns with the answering card of the information to be collected.
Specifically, sketch plan is laid out according to the answering card masterplate for interface display of taking pictures, with guiding interface of taking pictures as shown in Figure 5
Exemplified by, the most housing edge in figure is gray translucent block, inwardly has yellow outer rim and is highlighted four widened
, several red rectangle blocks in yellow outer rim finally also be present in angle frame, the display portion in yellow outer rim be full through
, the ratio of width to height of this yellow outer rim and the ratio of width to height of answering card page paper to be taken pictures are completely the same, and red
Rectangular block is formed by the key point home block equal proportion scaling on answering card.
By Interactive interface designing mode of taking pictures so consistent with answering card equal proportion to be taken pictures, guiding can be played
Interface upper ledge and effect that actually answering card layout structure to be taken pictures aligns can so be avoided user from arbitrarily selecting by user
The position of yellow outer rim and answering card to be captured is put, so as to cause because of the follow-up identification accuracy of the bad influence of effect of taking pictures
Problem.
Step 405, the answering card is taken pictures, obtains the answer card information.
Specifically, manual mode can be used, shutter is pressed and is taken pictures;Can also be by the equipment in real time or every one
Fix time, the image of interception camera capture, taken pictures so as to be automatically performed.
Answering card information collecting method provided in an embodiment of the present invention, using being stored with the answering card corresponding with answering card
The equipment that masterplate is laid out sketch plan, guiding user carry out adjustment of taking pictures, so that answering card aligns with its masterplate layout sketch plan, and answer
Topic card is taken pictures, so as to simply, easily collect answer card information.
In order to be further ensured that the picture quality of automatic camera, in embodiments of the present invention, additionally provide two kinds it is different
Automatic camera mode, is described in detail separately below.
As shown in fig. 6, be a kind of flow chart for obtaining answer card information in the embodiment of the present invention using automatic camera mode,
Comprise the following steps:
Step 601, the image of the pick-up lens capture of equipment is intercepted.
Specifically, the image that setting time intercepts the pick-up lens capture of the equipment can be spaced, can also met
The image of the pick-up lens capture of the equipment is intercepted under certain condition, this embodiment of the present invention is not limited.
The value of above-mentioned setting time can determine according to equipment reaction speed, operating system reaction speed etc., also can root
According to practical application request or empirically determined.
Step 602, judge whether current truncated picture meets acquisition request message.If it is, perform step 603;
Otherwise, step 604 is performed.
In actual applications, judge whether current truncated picture meets that acquisition request message there can be a variety of methods, than
Such as, whether the key point mark coverage rate of the key point identification inframe according to current truncated picture exceedes setting threshold
Value, to judge whether the image meets acquisition request message, i.e., if coverage rate exceedes given threshold, it is determined that currently intercept
Image meets acquisition request message;Otherwise, it determines current truncated picture is unsatisfactory for acquisition request message.The coverage rate can be with
Calculated by the ratio of monochrome pixels point.
Certainly, in actual applications, it is more multifactor to judge whether described image meets that acquisition request message is also conceivable to,
The global illumination of such as picture, brightness.
Step 603, answer card information is obtained according to truncated picture, and shows the first prompt message.
First prompt message finishes for prompting user's this answer card information to obtain, can start lower a answer
The shooting of card, can be specifically the simple and clear information such as simple word string, such as " OK ", " completion " etc..
Step 604, judge whether to exceed time threshold for the interface duration of taking pictures of the answering card or retake
Whether number exceedes frequency threshold value.If it is, perform step 605;Otherwise, step 601 is performed.
Above-mentioned time threshold and frequency threshold value can previously according to needing or experiment is set, such as, can be 10s respectively, 5
It is inferior.
It should be noted that operated for the ease of timing and metering, in actual applications, the bat for first part of answering card
It can start shooting to load the answering card masterplate and be laid out after the completion of sketch plan with slave unit according to the interface duration and start timing or metering, and
For follow-up answering card take pictures the interface duration can after the upper a answering card information gathering success timing or meter
It is secondary.It is of course also possible to set corresponding button in equipment, control the button manually by user, equipment once perceive this by
Button is pressed or pressed, that is, proceeds by timing or metering.
Step 605, the second prompt message is shown, and selects to operate in next step by user.
Second prompt message is used to prompt this answering card of user acquisition of information to fail, and answer card position can be carried out
It is automatically performed and takes pictures after adjustment, or user manually completes and taken pictures, specifying information content can be set as needed, to this present invention
Embodiment does not limit.
As shown in fig. 7, it is another flow for obtaining answer card information in the embodiment of the present invention using automatic camera mode
Figure, comprises the following steps:
Step 701, the image of the pick-up lens capture of equipment is intercepted.
Step 702, judge whether current truncated picture meets acquisition request message.If it is, perform step 703;
Otherwise, step 705 is performed.
For example whether the key point of key point identification inframe marks coverage rate according to current truncated picture
More than given threshold, to judge whether the image meets acquisition request message, i.e., if coverage rate exceedes given threshold, it is determined that
Current truncated picture meets acquisition request message;Otherwise, it determines current truncated picture is unsatisfactory for acquisition request message.
Step 703, judge whether current truncated picture reaches stability requirement;If it is, perform step 704;Otherwise,
Perform step 705.
Equally, in actual applications, judge whether current truncated picture reaches stability requirement and there can be a variety of methods, than
Such as, rim detection is carried out respectively to current truncated picture and answering card masterplate layout sketch plan, obtains the side of two images
Edge figure, by calculating the cross-correlation coefficient of this two images, that is, the progress and calculating of individual element, periphery is obtained after accumulation
The coincidence factor of frame region image;If the coincidence factor exceedes the coincidence threshold value of setting, it is determined that current truncated picture reaches
To stability requirement;Otherwise, it determines current truncated picture is not up to stability requirement.Further, to current truncated picture
Before carrying out rim detection with answering card masterplate layout sketch plan, fuzzy place can also be first carried out to current truncated picture
Reason.
Step 704, answer card information is obtained according to truncated picture, and shows the first prompt message.
First prompt message finishes for prompting user's this answer card information to obtain, can start lower a answer
The shooting of card, can be specifically the simple and clear information such as simple word string, such as " OK ", " completion " etc..
Step 705, judge whether to exceed time threshold for the interface duration of taking pictures of the answering card or retake
Whether number exceedes frequency threshold value.If it is, perform step 706;Otherwise, step 701 is performed.
It should be noted that operated for the ease of timing and metering, in actual applications, the bat for first part of answering card
It can start shooting to load the answering card masterplate and be laid out after the completion of sketch plan with slave unit according to the interface duration and start timing or metering, and
For follow-up answering card take pictures the interface duration can after the upper a answering card information gathering success timing or meter
It is secondary.It is of course also possible to set corresponding button in equipment, control the button manually by user, equipment once perceive this by
Button is pressed or pressed, that is, proceeds by timing or metering.
Step 706, the second prompt message is shown, and selects to operate in next step by user.
Answering card information collecting method provided in an embodiment of the present invention, using being stored with the answering card corresponding with answering card
The equipment that masterplate is laid out sketch plan, guiding user carry out adjustment of taking pictures, so that answering card aligns with its masterplate layout sketch plan, and answer
Topic card carries out automatic camera, so as to simple, convenient, efficient collects answer card information, and be effectively guaranteed and adopt
Collect the quality of information.
It should be noted that in Fig. 6 and embodiment illustrated in fig. 7, obtain answer card information and refer to that acquisition can be clear, accurate
Reflect the image of answering card content, and in practical application for example, in middle-size and small-size examination, test or operation automatic marking, it is also necessary to
The particular content in image is extracted to complete automatic marking, the detailed process of automatic marking can use some existing technologies.
Based on the answer card information of collection of the embodiment of the present invention, go for a variety of method to go over files.
It can be specifically to answer current truncated picture as described in obtain the answer card information according to truncated picture
Inscribe card information output;Either in shooting, the continuous image shooting of camera capture of the different exposures to the equipment is utilized
At least three, including the image of a normal exposure degree, such as, continuous shooting three is opened, and exposure EV is respectively EV=0 (normal
Exposure), EV=+1, EV=-1;Then, the image of these different exposures is merged, and the image after fusion is made
Exported for the answer card information.The fusion treatment of image can use some existing processing modes, to this embodiment of the present invention
Do not limit.
Because these images have used different exposure values, and the imaging object of taking pictures of these images is identical again,
Therefore high dynamic imaging method (High Dynamic Range, HDR) can be used to form photographic subjects, and there is contrast to increase
The image of potent fruit, can thus there is more careful expression to the details of photographing objective.
It should be noted that in this case, judge current truncated picture whether meet acquisition request message, with
And when judging whether current truncated picture meets stability requirement, can only judge the image of normal exposure degree, and nothing
Each image is needed to be judged.
The scheme of the embodiment of the present invention is not only scanned into row information collection without optical character reader (OCR), and to the matter of answering card
Amount requirement substantially reduces, and the making for a small amount of answering card can even use printing, the method duplicated, thus be not present and pass
The problem of cost height brought in system method by a small amount of printing and corresponding universality difference, greatly reduce standardization auxiliary
The threshold of examination, dramatically reduce teacher comment operation, the workload pressure of paper.The scheme of the embodiment of the present invention is especially suitable
For in middle-size and small-size examination, test or operation automatic marking.
, can be with another embodiment of the inventive method in addition, in order to further enhance the versatility of the present invention program
Server is all saved in depositing accordingly by the way that the answering card masterplate set for the answering card of different batches is laid out into sketch plan
Store up in equipment, and unique mark corresponding with each answering card masterplate layout sketch plan is set, such as numbering or special marking etc..Make
Used time, this used answering card masterplate of taking pictures is specified to be laid out sketch plan by user by being manually entered the modes such as particular number,
Or by such as Quick Response Code of the special marking on device scan answering card etc., automatically select and determine this used answer of taking pictures
Snap gauge version is laid out sketch plan.
Correspondingly, the embodiment of the present invention also provides a kind of answering card information collecting device, and the equipment carries camera, and has
There is camera function.
As shown in figure 8, it is a kind of structural representation of answering card information collecting device of the embodiment of the present invention.
In this embodiment, the equipment includes:
Masterplate acquisition module 801, the answering card masterplate for obtaining pre-production are laid out sketch plan;
Starting module 802, for starting the camera function of the equipment;
Display module 803, in interface display of taking pictures answering card masterplate cloth corresponding with the answering card of information to be collected
Office's sketch plan, so that user is laid out sketch plan according to the answering card masterplate carries out adjustment of taking pictures, the answering card for the interface display that makes to take pictures
Masterplate layout sketch plan aligns with the answering card of the information to be collected;
Data obtaining module 804, for being taken pictures to the answering card, obtain the answer card information.
Answered it should be noted that the camera function and acquisition module 801 of the above-mentioned starting device of starting module 802 obtain
The sequencing of the two operations of topic snap gauge version layout sketch plan can arbitrarily be set, furthermore, it is possible to pre-set in a device,
This embodiment of the present invention can not limited by user's hand-guided in actual applications.
Answering card information collecting device provided in an embodiment of the present invention, using being stored with the answering card corresponding with answering card
The equipment that masterplate is laid out sketch plan, guiding user carry out adjustment of taking pictures, so that answering card aligns with its masterplate layout sketch plan, and answer
Topic card carries out automatic camera, so as to simple, convenient, efficient collects answer card information.
It should be noted that the making of above-mentioned answering card masterplate layout sketch plan can be completed in miscellaneous equipment, needing
When, then send it in the equipment, such as, it is sent to by network or other transmission means in the equipment.
The making of above-mentioned answering card masterplate layout sketch plan can also be completed in the device, therefore, may be used also in the device
To further comprise:Answering card masterplate layout sketch plan makes module (not shown), for making answering card masterplate layout sketch plan.
The answering card masterplate layout sketch plan makes module and specifically includes following each unit:
Layout units, for determining answer strap form layout according to the answering card space of a whole page, set on the answering card space of a whole page
There is key point mark;
Setting unit, set and the key on the answer strap form space of a whole page for the position according to the key point
The one-to-one key point identification frame of point;
Generation unit, sketch plan is laid out into the answering card masterplate of equal proportion with the answering card space of a whole page for generating.
In addition, it is necessary to explanation, above- mentioned information acquisition module 804 can also be controlled manually by user, can also be automatic
Control, completes to take pictures.
Below by taking automatic control mode as an example, the specific reality of data obtaining module 804 in the embodiment of the present invention is described in detail
Existing structure.
As shown in figure 9, it is the specific knot of one kind of data obtaining module in answering card information collecting device of the embodiment of the present invention
Structure schematic diagram.
In this embodiment, described information acquisition module includes:
Image interception module 901, the image that the pick-up lens for intercepting the equipment captures;
Control module 902, image interception operation is carried out for triggering described image interception module 901;
First judge module 903, for judging whether 901 current truncated picture of image interception module meets information gathering
It is required that;
Output module 904, for judging that current truncated picture meets acquisition request message in the first judge module 903
When, answer card information is obtained according to truncated picture;
Second judge module 905, for judging that current truncated picture is unsatisfactory for information gathering in the first judge module 903
It is required that when, judge whether exceed time threshold for the interface duration of taking pictures of the answering card;
3rd judge module 906, for judging that current truncated picture is unsatisfactory for information gathering in the first judge module 903
It is required that when, judge to retake whether number exceedes frequency threshold value for the answering card.
Correspondingly, when using the data obtaining module of the embodiment, the display module 803 in Fig. 8 also needs to exporting
After module 904 obtains the answer card information, the first prompt message is shown;And held at the interface of taking pictures for the answering card
When the continuous time exceedes time threshold or retakes number and exceed frequency threshold value, the second prompt message is shown, to prompt to be selected by user
Select and operate in next step.
Above-mentioned output module 904, the second judge module 905 and the 3rd judge module 906 can be by the first judge modules 903
Its corresponding operation is triggered according to judged result, moreover, in actual applications, the second judge module 905 and the 3rd judges mould
Block 906 can select setting or both while set, and this embodiment of the present invention is not limited.
Above-mentioned first prompt message finishes for prompting user's this answer card information to obtain, can start lower a answer
The shooting of card, can be specifically the simple and clear information such as simple word string, such as " OK ", " completion " etc..Above-mentioned second prompting
Information is used to prompt this answering card of user acquisition of information to fail, and is automatically performed and takes pictures after being adjusted to answer card position,
Or user manually completes and taken pictures, specifying information content can be set as needed, and this embodiment of the present invention is not limited.
In actual applications, the first judge module 903 judges whether current truncated picture meets that acquisition request message can
To have various ways such as, it can be determined that the identification inframe of key point described in 901 current truncated picture of image interception module
Whether key point mark coverage rate exceedes given threshold, if coverage rate exceedes given threshold, it is determined that current truncated picture
Meet acquisition request message;Otherwise, it determines current truncated picture is unsatisfactory for acquisition request message.Certainly, the first judge module
903 can also judge whether current truncated picture meets acquisition request message using other manner, to this embodiment of the present invention
Do not limit.In addition, in actual applications, the first judge module 903 judges whether described image meets acquisition request message also
It is contemplated that more multifactor, the global illumination of such as picture, brightness.
As shown in Figure 10, it is the another specific of data obtaining module in answering card information collecting device of the embodiment of the present invention
Structural representation.
Difference with embodiment illustrated in fig. 9 is that in this embodiment, described information acquisition module also includes:
4th judge module 910, for judging that current truncated picture meets that information gathering will in the first judge module 903
After asking, determine whether current truncated picture reaches stability requirement;If it is, triggering output module 904 performs root
The operation of the answer card information is obtained according to truncated picture;Otherwise the second judge module 905 and the 3rd judge module 906 are triggered
Perform respective judgement operation.
It should be noted that in this embodiment, the first judge module 903 is if it is determined that current truncated picture is unsatisfactory for
After acquisition request message, it is still necessary to trigger the second judge module 905 and the 3rd judge module 906 performs respective judgement operation.
Equally, in actual applications, the 4th judge module 910 judge whether current truncated picture reaches stability requirement can
To there is various ways, such as, the 4th judge module 910 can include detection unit (not shown), for image interception module
901 current truncated pictures and answering card masterplate layout sketch plan carry out rim detection, obtain peripheral frame area image
Coincidence factor, and determine that current truncated picture reaches stability requirement when the coincidence factor exceedes the coincidence threshold value of setting;Otherwise,
It is determined that current truncated picture is not up to stability requirement.In addition, the 4th judge module 910 can also further comprise:Processing unit
(not shown), for carrying out edge inspection to current truncated picture and answering card masterplate layout sketch plan in the detection unit
Before survey, Fuzzy Processing is carried out to current truncated picture.
Answering card information collecting device provided in an embodiment of the present invention, using being stored with the answering card corresponding with answering card
The equipment that masterplate is laid out sketch plan, guiding user carry out adjustment of taking pictures, so that answering card aligns with its masterplate layout sketch plan, and answer
Topic card carries out automatic camera, so as to simple, convenient, efficient collects answer card information, and be effectively guaranteed and adopt
Collect the quality of information.
In embodiments of the present invention, output module 904 obtains answer card information and refers to that acquisition energy is clear, accurately reflects answer
The image of card content, and in practical application for example, in middle-size and small-size examination, test or operation automatic marking, it is also necessary to extract image
In particular content complete automatic marking, the detailed process of automatic marking can use some existing technologies.
Specifically, output module 904 can export current truncated picture as the answer card information;It can also adopt
With image co-registration mode, output has the image of even more ideal contrast, such as in another embodiment of present device, figure
As the continuous image shooting at least three that interception module 901 is captured using different exposures to the camera of the equipment, wherein wrapping
Include the image of a normal exposure degree;Correspondingly, the different exposures that output module 904 can shoot described image interception module
The image of degree is merged, and is exported the image after fusion as the answer card information.In this case, first judges
Module 903 when judging that current truncated picture meets acquisition request message, can only judge normal exposure degree image whether
Meet acquisition request message, equally, the 4th judge module 910 when judging whether current truncated picture reaches stability requirement,
Also it need to only judge whether the image of normal exposure degree meets acquisition request message.
Specific fusion method can use prior art, will not be repeated here, the image after fusion can have even more ideal
Contrast.
Using the answering card information collecting device of the embodiment of the present invention, not only it is scanned into row information without optical character reader (OCR) and adopts
Collection, and the quality requirement of answering card is substantially reduced, the making for a small amount of answering card can even use printing, duplicate
Method, thus in the absence of the cost brought by a small amount of printing in conventional method is high and the problem of corresponding universality difference,
The threshold of standardization auxiliary examination is greatly reduced, dramatically reduces teacher comment operation, the workload pressure of paper.In reality
In the application of border, the answering card information collecting device of the embodiment of the present invention can be made independent equipment, can also be integrated
Onto some existing device products, such as mobile phone, tablet personal computer etc., correspondingly, some above-mentioned functional modules can with it is existing
Corresponding component in device product is general, such as, control module 902 can be realized using the shoot button on mobile phone.
In addition, in order to further enhance the adaptability of answering card information collecting device of the present invention, believe in answering card of the present invention
In another embodiment for ceasing collecting device, selecting module (not shown) can also be set, for being selected according to the unique mark of setting
Select answering card masterplate layout sketch plan corresponding with the answering card.
Sketch plan is laid out by the answering card masterplate that will be set for the answering card of different batches all to store into the equipment,
And unique mark corresponding with each answering card masterplate layout sketch plan is set, such as numbering or special marking etc..When in use, pass through
It is manually entered the modes such as particular number and this used answering card masterplate layout sketch plan of taking pictures is specified by user, or by equipment
Special marking such as Quick Response Code on answering card etc. is scanned, automatically selects and determines this used answering card masterplate layout of taking pictures
Sketch plan.It is of course also possible to the answering card masterplate layout sketch plan of the answering card setting for different batches is all saved in service
Device is into corresponding storage device.When in use, this institute of taking pictures is specified by user according to being manually entered the modes such as particular number
The answering card masterplate layout sketch plan used, or by such as Quick Response Code of the special marking on device scan answering card etc., automatic choosing
Select determination this take pictures used in answering card masterplate layout sketch plan, then by network or other transmission means from server or
Other storage devices obtain corresponding answering card masterplate layout sketch plan.
The answering card information collecting device of the embodiment of the present invention is read automatically especially suitable for middle-size and small-size examination, test or operation
In volume, can voluntarily be taken pictures collection information by student, answer card information photo then be submitted, so as to realize automatic marking;Also can be by
Teacher or special messenger carry out collection information of taking pictures.Its acquisition channel of taking pictures is not restricted.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.Described above sets
Standby embodiment is only schematical, wherein the module illustrated as separating component can be or may not be physics
It is upper separated, it can be as the part that unit is shown or may not be physical location, you can with positioned at a place, or
Person can also be distributed on multiple NEs.Some or all of module therein can be selected according to the actual needs real
The purpose of existing this embodiment scheme.Moreover, the function that some of which module is provided can also be realized by software, some moulds
Block can share with the identical function module in existing equipment (such as PC, tablet personal computer, mobile phone).This area is common
Technical staff is without creative efforts, you can to understand and implement.
The embodiment of the present invention is described in detail above, embodiment used herein is carried out to the present invention
Illustrate, the explanation of above example is only intended to help to understand method and apparatus of the invention;Meanwhile for the one of this area
As technical staff, according to the thought of the present invention, there will be changes in specific embodiments and applications, to sum up institute
State, this specification content should not be construed as limiting the invention.