CN112752017A - Answering method of photographing answering machine, photographing method, photographing answering machine and photographing answering system - Google Patents

Answering method of photographing answering machine, photographing method, photographing answering machine and photographing answering system Download PDF

Info

Publication number
CN112752017A
CN112752017A CN202010636708.1A CN202010636708A CN112752017A CN 112752017 A CN112752017 A CN 112752017A CN 202010636708 A CN202010636708 A CN 202010636708A CN 112752017 A CN112752017 A CN 112752017A
Authority
CN
China
Prior art keywords
photographing
image
boundary
frame
answering
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.)
Granted
Application number
CN202010636708.1A
Other languages
Chinese (zh)
Other versions
CN112752017B (en
Inventor
陈波
胡政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha Sunsky Electronic Design Development Co ltd
Original Assignee
Changsha Sunsky Electronic Design Development Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Changsha Sunsky Electronic Design Development Co ltd filed Critical Changsha Sunsky Electronic Design Development Co ltd
Publication of CN112752017A publication Critical patent/CN112752017A/en
Application granted granted Critical
Publication of CN112752017B publication Critical patent/CN112752017B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects

Abstract

The invention relates to a question answering method of a photographing question answering device, a photographing method, the photographing question answering device and a photographing question answering system, wherein the question answering method comprises the following steps: s1: after receiving a photographing request triggered by a user and used for photographing a subjective question, a photographing answer device generates a photographing frame according to a preset paper size; s2: identifying the boundary of the image according to the image of the paper to be photographed displayed in the photographing frame; s3: determining whether the boundary is in the area information of the photographing frame or not according to the boundary and the photographing frame; s4: when the boundary is located in the area information of the photographing frame, acquiring an image checking value F (s, a) according to the boundary, the image in the boundary and the photographing frame; the image check value F (s, a) is associated with the number of pixel points of the image in the boundary and the included angle of adjacent edges in the boundary; s5: whether the shooting condition is satisfied is judged according to the image check value F (s, a), and when the shooting condition is satisfied, an identifier of "photographable" is displayed. The shot pictures are clear after the shooting conditions are met, and the quality of the collected images can meet the requirements.

Description

Answering method of photographing answering machine, photographing method, photographing answering machine and photographing answering system
Technical Field
The invention relates to the field of teaching, in particular to a question answering method of a photographing question answering machine, a photographing method, the photographing question answering machine and a photographing question answering system.
Background
In the teaching process in classroom, the function of answer device tends to the variety more, and the answer device uses convenient terminal product as a section, not only can effectively mobilize student's study enthusiasm, can help mr in time to know the student to the mastery condition of knowledge point again, sweeps away the teaching blind spot, has accomplished to the informationization classroom interdynamic between mr and the student in the true sense, but present answer device only can make things convenient for the answer and read wholesale to objective questions type such as selective judgement, nevertheless to subjective question types such as question answering or fill-in blank question, only can rely on the manual work to collect the paper examination paper, artifical wholesale examination paper. In order to implement digital reading and amending of the subject question, although a camera is added in the answer device in the prior art to implement photographing and uploading of the test paper, the answer device is a low-cost and light-weight device, the difficulty of integrating cameras such as an automatic zoom and the like is high (cost, calculation capability of a main chip of the answer device and the like), and a fixed-focus camera is generally adopted. In the use process, students take pictures in a handheld mode, and under the condition, how to ensure the image acquisition quality of the fixed-focus camera is one of the difficulties.
Disclosure of Invention
Technical problem to be solved
The invention provides a question answering method of a photographing question answering device, a photographing method, the photographing question answering device and a photographing question answering system, and aims to solve the problem that the image acquisition quality of a fixed-focus camera cannot be ensured.
(II) technical scheme
In order to solve the problems, the invention provides an answering method of a photographing answering machine, wherein the photographing answering machine comprises an objective question answering structure and a photographing structure for acquiring a subjective question answering image; the method comprises the following steps:
s1: after receiving a photographing request triggered by a user and used for photographing a subjective question, a photographing answer device generates a photographing frame according to a preset paper size;
s2: identifying the boundary of the image according to the image of the paper to be photographed displayed in the photographing frame, wherein the paper to be photographed is recorded with the answer content of the subjective question;
s3: determining whether the boundary is completely positioned in the area information of the photographing frame or not according to the boundary and the photographing frame;
s4: when the boundary is completely positioned in the area information of the photographing frame, acquiring an image checking value F (s, a) according to the boundary, the image in the boundary and the photographing frame;
wherein the image check value F (s, a) is associated with the number of pixel points of the image in the boundary and the included angle of adjacent edges in the boundary;
s5: and judging whether shooting conditions are met or not according to the image checking value F (s, a), and displaying a mark of 'shooting possibility' when the shooting conditions are met.
Preferably, the S1 includes:
the photographing answer device receives a photographing request triggered by a user and used for photographing a subjective question;
displaying at least one paper size to be selected, which is specifically: displaying A3 sheet size and/or a4 sheet size;
and after receiving a selection instruction of a user, generating a photographing frame according to the paper size corresponding to the selection instruction.
Preferably, in S1, the photographing frame includes a first frame and a second frame, and the first frame and the second frame are two closed frames with overlapping geometric centers, the same shape, and different sizes;
in S3, the region information of the photo frame is a region between the first frame and the second frame.
Preferably, the S4 includes:
obtaining the weighting coefficient K of the photographing structure1、K2The number of pixel points s of the preset image quality in the preset paper size0
Obtaining the included angle a of each adjacent edge in the corresponding boundary of the subjective question in the photographing frameiThe number of pixel points of the image in the boundary is s;
acquiring an image checking value F (s, a) according to the following formula I;
the formula I is as follows:
Figure BDA0002569375440000031
wherein the content of the first and second substances,
Figure BDA0002569375440000032
and i is a natural number of 1, 2, 3 or 4.
Preferably, the first and second electrodes are formed of a metal,
weighting coefficient K to which photographing structure belongs1、K2Determined according to the pixels of the lens in the photographing structure and the focal length.
Preferably, said S5 is followed by:
s6, acquiring a photographing sample of the paper to be photographed after receiving a photographing instruction triggered by a user;
and S7, uploading the photographed sample image to a server, or compressing the photographed sample image according to a preset proportion and uploading the compressed photographed sample image to the server.
Preferably, the present invention also provides a photographing method comprising:
p1: after receiving a photographing request triggered by a user and used for photographing an object to be photographed, generating a photographing frame according to a preset photographing condition;
p2, identifying the boundary of the image according to the image of the paper to be photographed displayed in the photographing frame;
p3: determining whether the boundary is completely positioned in the area information of the photographing frame or not according to the boundary and the photographing frame;
p4: when the boundary is completely positioned in the area information of the photographing frame, acquiring an image checking value F (s, a) according to the boundary, the image in the boundary and the photographing frame;
wherein the image checking value F (s, a) is associated with the number of pixel points of the image in the boundary and the included angle of the adjacent boundary in the boundary;
p5: and judging whether shooting conditions are met or not according to the image checking value F (s, a), and displaying a mark of 'shooting possibility' when the shooting conditions are met.
Preferably, said P4 comprises:
obtaining the weighting coefficient K of the photographing equipment1、K2The number of pixel points s of the preset image quality in the preset shooting condition0
Obtaining the included angle a of each adjacent edge in the corresponding boundary of the object to be photographed in the photographing frameiThe number of pixel points of the image in the boundary is s;
acquiring an image checking value F (s, a) according to the following formula I;
the formula I is as follows:
Figure BDA0002569375440000041
wherein the content of the first and second substances,
Figure BDA0002569375440000042
and i is a natural number of 1, 2, 3 or 4.
Preferably, the invention also provides a photographing answering machine, which comprises an objective question answering structure and a photographing structure for acquiring subjective question answering images;
the photographing structure includes: a memory, a processor and a program stored on the memory and running on the processor, the processor implementing the steps of any one of the answer methods of the photographing answer machine as described above when executing the program.
Preferably, the invention also provides a system, which comprises the photographing answering machine and the background server;
the photographing answering machine is communicated with the background server through a wireless network.
(III) advantageous effects
The answering method of the photographing answering machine provided by the invention comprises the steps of determining a photographing frame according to the preset paper size, identifying the boundary of an image of paper to be photographed in the photographing frame, checking the image quality of the image in the boundary to obtain an image checking value F (s, a), judging whether a photographing condition is met or not according to the image checking value F (s, a), and photographing after the condition is met, so that the obtained picture is clear, and the quality of the image acquired by a fixed-focus camera can meet the requirement.
Drawings
FIG. 1 is a flow chart of a subjective question answering method of the present invention;
FIG. 2 is a schematic diagram of a photo frame and borders according to the present invention.
Reference numerals
10: a first frame; 11: a second frame; 20: a boundary.
Detailed Description
For the purpose of better explaining the present invention and to facilitate understanding, the present invention will be described in detail by way of specific embodiments with reference to the accompanying drawings.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, the descriptions related to "first", "second", etc. in the present invention are only for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
At present, the answer ware can be used by the student, and the student is when using the answer ware to answer subjective questions, and the paper of shooing is treated to the mode of adopting handheld answer ware to shoot, but the display screen size of answer ware is less, can't clear display whole paper's picture, is difficult to ensure the picture quality through conventional picture preview mode, and especially the pupil is when using the answer ware to shoot, more can not guarantee the quality of the picture of shooing. Generally, the answering machine is a low-cost and light-weight device, the difficulty of integrating cameras such as an automatic zoom camera and the like is high (cost, the computing power of a main chip of the answering machine and the like), and a fixed-focus camera is generally adopted. In this case, how to quickly ensure the quality of the taken picture of the fixed-focus camera is a difficult problem to be solved by the present invention.
The invention provides an answering method of a photographing answering machine, which can quickly and accurately acquire the image quality of an object to be photographed. In general, subjective questions include: question and answer questions and blank filling questions, the objective questions include: choosing questions and judging questions. Therefore, the photographing answer device comprises an objective question answering structure and a photographing structure used for obtaining subjective question answering images. For example, the objective question answer structure may include a plurality of buttons for inputting options of the objective question. The photographing structure may be a camera or the like.
Example one
As shown in fig. 1, fig. 1 illustrates an answering method of a photographing answering machine according to an embodiment of the present invention, where an executing subject of the method of the present embodiment may be a photographing structure, and specifically, the answering method of the present embodiment may include the following steps:
s1: and after receiving a photographing request triggered by a user and used for photographing the subjective question, the photographing answer device generates a photographing frame according to a preset paper size.
For example, the step S1 may specifically include:
the photographing answering machine receives a photographing request triggered by a user and used for photographing the subjective question.
At least one paper size to be selected is presented.
And after receiving a selection instruction of a user, generating a photographing frame according to the paper size corresponding to the selection instruction as a preset paper size.
That is, in a specific application process, a user selects a corresponding paper size as a preset paper size according to the size of paper to be photographed.
Typically, the size of the paper used by the student to answer is: a3 and a4 size.
Thus, the above displaying at least one paper size to be selected includes: a3 sheet size, a4 sheet size.
S2: and identifying the boundary 20 of the image according to the image of the paper to be photographed displayed in the photographing frame, wherein the paper to be photographed is recorded with the answer content of the subjective question.
S3: from the border 20 and the photo frame, it is determined whether the border 20 is completely within the area information of the photo frame. The photographing frame can be a closed frame, and the area information of the photographing frame is an area in the frame at the moment; the photographing frame may further include a first frame 10 and a second frame 11, where the first frame 10 and the second frame 11 are two closed frames with coincident geometric centers, the same shape, and different sizes, and the region information of the photographing frame is a region between the first frame 10 and the second frame 11.
S4: when the boundary 20 is completely located within the region information of the photo-frame, the image check value F (s, a) is acquired based on the boundary 20, the image within the boundary 20, and the photo-frame.
Wherein, the image check value F (s, a) is associated with the number of pixel points of the image in the boundary 20 and the included angle of the adjacent sides in the boundary 20;
s5: whether the shooting condition is satisfied is judged according to the image check value F (s, a), and when the shooting condition is satisfied, an identifier of "photographable" is displayed.
In the answering method of the photographing answering machine provided in this embodiment, the image quality check is performed on the image in the boundary 20 in real time to obtain the image check value F (s, a), and when the image check value F (s, a) is smaller than a predetermined threshold F0When the answer is answered, the distance between the lens of the camera and the paper and the shooting angle are proper, namely, the shooting condition is met, and the mark of shooting can be displayed on the answer device. At the moment, a high-quality photo can be shot, the definition of the photo can be guaranteed without previewing the photo, and answering of subjective questions can be quickly completed.
In practical applications, the step S4 may specifically include the following sub-steps:
s4-1, obtaining the weighting coefficient K of the photographing structure1、K2The number of pixel points s of the preset image quality in the preset paper size0
S4-2, obtaining the included angle a between each adjacent edge in the boundary 20 corresponding to the main subject in the photographing frameiThe number of pixels s of the image within the boundary 20;
acquiring an image checking value F (s, a) according to the following formula I;
the formula I is as follows:
Figure BDA0002569375440000071
wherein the content of the first and second substances,
Figure BDA0002569375440000072
and i is a natural number of 1, 2, 3 or 4.
Checking whether the value F (s, a) is less than a predetermined threshold value F based on the image0Whether the shooting condition is met or not is judged, and when the quality of the image in the shooting frame meets the requirement, the mark of shooting can be displayed, so that the quality of the image in the shooting frame is realizedThe answer method of the photographing answer machine is suitable for classroom sites, can quickly photograph test paper pictures with high quality, and completes the submission of answers of subjective questions.
In a preferred embodiment, the weighting factor K to which the picture structure belongs1、K2Determined according to the pixels of the lens in the photographing structure and the focal length.
In an alternative implementation, the method shown in fig. 1 may further include the following steps S6 and S7, which are not shown in the figure, after the step S5:
s6: receiving a photographing instruction triggered by a user, and acquiring a photographing sample of the paper to be photographed;
s7: and uploading the photographed sample image to a server, or compressing the photographed sample image according to a preset proportion and uploading the compressed photographed sample image to the server.
By adopting the mode of shooting and uploading to the background server, the uploading of the answer content of the subjective questions is completed, students in a classroom can quickly answer the questions and synchronously submit test papers through the shooting answering device, and teachers also conveniently correct the test papers, so that the working efficiency of schools is greatly improved.
Example two
As shown in fig. 1 and 2, in step S1 in embodiment 1, the photographing frame includes a first frame 10 and a second frame 11, and the first frame 10 and the second frame 11 are two closed frames with coinciding geometric centers, identical shapes, and different sizes. And in step S3, the region information of the photographing frame is the region between the first frame 10 and the second frame 11.
In the present embodiment, a first frame 10 and a second frame 11 are provided, and when the boundary 20 of the image of the paper to be photographed is located between the first frame 10 and the second frame 11, the picture quality check is performed to obtain the image check value F (s, a). The user will make the border 20 of image be located the regional information of the frame of shooing through the adjustment answer ware for the image quality that the answer ware was shot can obtain guaranteeing, be used for only need finely tune the border 20 in the regional information of the frame of shooing can, make the user can be more quick obtain high-quality picture, under the prerequisite of guaranteeing the picture quality, greatly improved the efficiency of shooing.
EXAMPLE III
In another aspect, the present invention further provides a photographing method, including:
p1: and after receiving a photographing request triggered by a user and used for photographing the paper to be photographed, generating a photographing frame according to a preset photographing condition. The preset photographing condition refers to a preset paper size, and the preset paper size corresponds to the size of the paper to be photographed.
P2: and identifying the boundary 20 of the image according to the image of the paper to be photographed displayed in the photographing frame.
P3: from the border 20 and the photo frame, it is determined whether the border 20 is completely within the area information of the photo frame.
P4: when the boundary 20 is completely located within the region information of the photo-frame, the image check value F (s, a) is acquired based on the boundary 20, the image within the boundary 20, and the photo-frame.
The image check value F (s, a) is associated with the number of pixels of the image in the boundary 20 and the included angle between adjacent boundaries 20 in the boundary 20.
P5: whether the shooting condition is satisfied is judged according to the image check value F (s, a), and when the shooting condition is satisfied, an identifier of "photographable" is displayed.
Wherein P4 includes:
obtaining the weighting coefficient K of the photographing equipment1、K2The number of pixel points s of the preset image quality in the preset shooting condition0
Obtaining the included angle a between each adjacent side in the corresponding boundary 20 of the object to be photographed in the photographing frameiThe number of pixels s of the image within the boundary 20;
acquiring an image checking value F (s, a) according to the following formula I;
the formula I is as follows:
Figure BDA0002569375440000091
wherein the content of the first and second substances,
Figure BDA0002569375440000092
and i is a natural number of 1, 2, 3 or 4.
The photographing method provided by the invention can judge whether the photographing condition is met or not through the image check value F (s, a) when the photographing device is applied to light-weight equipment, and when the photographing condition is met, the mark of 'photographing capable' is displayed. The method reduces the requirement on the photographing level of the user, and the application range is wider.
Example four
The invention also provides a photographing answering machine which comprises an objective question answering structure and a photographing structure for acquiring the subjective question answering image. For example, the photographing structure may be a photographing structure with a display screen, for example, a simple camera and a display screen, on which an image captured by a lens of the camera can be displayed.
The objective question structure may include a plurality of buttons for inputting objective question options. In practical application, both the objective question answering structure and the photographing structure are provided with a transceiver module for sending information to a background server. In general, the transceiver module may transmit information to the background server based on a frequency band of 2.4GHz WIFI or 5.8 GHz.
Specifically, the photographing structure further includes: a memory, a processor and a program stored on the memory and running on the processor, the processor implementing any of the steps of the answering method shown in figure 1 above when executing the program.
EXAMPLE five
The invention also provides a system which comprises a plurality of the photographing answering machines and the background server;
the photographing answering machine is communicated with the background server through a wireless network. Specifically, the photographing answering machine is communicated with the background server through the receiving and sending module.
When the photographing frame is a closed frame, a description is given below of a scene in which the user answers the subjective question using the photographing answering machine according to the sixth embodiment.
Example six:
the user sets the preset paper size (A4, A3, 16K, etc.) in the photographing answering machine, and the answering machine generates the photographing frame according to the preset paper size.
The photographer places the camera on the photographing answering machine above the test paper, and at the moment, the photographing frame and the obtained test paper image are displayed on the display screen of the photographing answering machine.
The photographer moves the photographing answering machine up and down, adjusts the angle, and sleeves the test paper in the range of the photographing frame (as close to the photographing frame as possible).
The photographing answering machine automatically identifies the boundaries 20 of the test paper using image recognition algorithms and determines whether the test paper is completely within the photographing frame.
When the test paper is completely in the photographing frame, the photographing answering machine checks the picture quality in real time according to the boundary 20 and the image in the boundary 20 to obtain an image checking value F (s, a), checks whether the photographing condition is met, and displays a 'photographing-capable' mark when the photographing condition is met (the distance error is within the range of the focal distance tolerance, so that the image quality can be ensured).
The photographer presses the photographing key to finish one-key photographing to obtain a photographing sample sheet, and the photographing answering machine compresses the photographing sample sheet and uploads the compressed photographing sample sheet to the background server.
When the photographing frame includes the first frame 10 and the second frame 11, a description is given below of a scene in which the photographing answering machine answers the subjective question from the perspective of the user:
example seven:
in this embodiment, the focal length of the lens of the camera selected on the photo answering machine is 150mm, the focal length of the clear image is in the range of 120 mm-180 mm, and 500 ten thousand pixels (2560 × 1920). When the image is shot at the standard focal position, the imaging range of the a4 paper is 2000 × 1400 (pixels).
The following describes a specific photographing implementation process by taking an a4 paper test paper as an example:
1. the user selects and sets the paper size of the test paper to be A4 in the answering machine; and the answering machine calculates and generates a photographing frame according to the set paper size.
The first frame 10 in the photo frame is a rectangular frame with a size of 220 × 160 (pixels), and the second frame 11 is a rectangular frame with a size of 180 × 120 (pixels).
2. The user places the answering machine over the test paper, at which point the answering machine displays the picture frame and the acquired image of the test paper and identifies the border 20 of the image of the test paper.
3. The user moves the answering machine up and down and adjusts the angle so that the position of the answering machine is finely adjusted after the border 20 of the test paper image is located in the area information of the photographing frame.
4. And performing picture quality check on the image in the boundary 20 in real time according to the boundary 20 of the test paper image and the photographing frame to obtain an image check value F (s, a).
Figure BDA0002569375440000111
Figure BDA0002569375440000112
At this time, s02800000; weighting factor k1,k2And performing derivation calculation according to the technical parameters of the camera to obtain: k is a radical of1=0.09。k2=1.3。
Threshold value F0The range of focus tolerance for sharp imaging is set at 20 mm.
When F (s, a) is less than F0And then, the test paper position and the shooting angle are indicated to be proper, the picture can be taken at the moment, and the mark of shooting can be displayed on the display screen on the shooting answering machine.
5. The user presses the photographing key to finish one-key photographing to obtain a photographing sample (the answering machine can also automatically photograph, and after the photographing is finished, a photographing finishing mark is displayed). And the answering machine compresses the photographed sample sheets and uploads the compressed photographed sample sheets to the background server.
In the seventh embodiment, the user can clearly know when the test paper can be taken, and the user can ensure that the taken picture of the test paper is clear after the shooting condition is met. Clear pictures can be rapidly shot on the light-weight answering device. And the user can basically ensure the image quality of the test paper image collected by the answering machine only by positioning the boundary 20 of the test paper image in the regional information of the photographing frame, and can quickly obtain the high-quality test paper image by continuously fine-tuning the position of the answering machine.
Because the answer device is under the restriction of self structure and cost, answer device self is only fit for integrated fixed focus camera. The fixed-focus camera is adopted to obtain a clear picture when the test paper is photographed, which has certain requirements on the photographing technology of a user. The answering method of the photographing answering machine provided by the invention checks the picture quality of the image, judges whether the photographing condition is met or not through the image checking value F (s, a), and displays the 'photographing' mark when the photographing condition is met. The method reduces the requirement on the photographing level of the user, so that the application range is wider, the answering machine is used for judging whether the photographing condition is met or not, and the step of manual preview after photographing is avoided.
Based on the seventh embodiment, the seventh embodiment is used to pair the weighting coefficients k1,k2The calculation of (a) will be described.
Example eight:
weighting factor k1And characterizing the relation between the test paper imaging area and the shooting distance.
According to the optical projection principle, the side length of the test paper image and the shooting distance are in an inverse relation, and the longer the distance is, the smaller the side length is. In actual shooting, the shooting distance fluctuates up and down at the focal length (150mm), and when the variation range is not large, the side length variation of the test paper and the distance variation can be approximately in a direct proportion relation.
The test paper is rectangular, and the equivalent side length (square root of the area) can be used for calculation instead of the side length.
The focal length position, area is 2,800,000 (pixels), equivalent side length is 1673 (pixels), and the corresponding shooting distance is 150 mm.
At this time, the process of the present invention,
k1=150/1673=0.09
weighting factor k2And representing the relation between the shooting inclination angle and the imaging distance deviation.
According to the optical projection principle, when the photographing inclination angle is not large (less than 10 degrees), the photographing inclination angle is approximately equal to the imaging angle error (error between the same right angle) of the test sheet boundary 20.
Also, when the shooting inclination angle is not large (less than 10 degrees), the distance deviation caused by the inclination shooting is approximately equal to the product of the angle error (radian) and the shooting distance.
At this time, the process of the present invention,
k2=(π/360)×150=1.3。
meanwhile, the calculated k is caused by the approximate assumption of the calculation process1And k2The method is not absolutely accurate, and can be adjusted according to actual test data in actual engineering application.
By the above-described embodiment, by calculating the weighting coefficient k1And k2According to the answering method of the photographing answering machine, whether the photographing condition is met or not is judged according to the image check value F (s, a), so that the practical use condition is met, and the judgment result is more accurate.
It should be understood that the above description of specific embodiments of the present invention is only for the purpose of illustrating the technical lines and features of the present invention, and is intended to enable those skilled in the art to understand the contents of the present invention and to implement the present invention, but the present invention is not limited to the above specific embodiments. It is intended that all such changes and modifications as fall within the scope of the appended claims be embraced therein.

Claims (10)

1. The answer method of the photographing answer device is characterized in that the photographing answer device comprises an objective question answering structure and a photographing structure for obtaining a subjective question answering image; the method comprises the following steps:
s1: after receiving a photographing request triggered by a user and used for photographing a subjective question, a photographing answer device generates a photographing frame according to a preset paper size;
s2: identifying the boundary of the image according to the image of the paper to be photographed displayed in the photographing frame, wherein the paper to be photographed is recorded with the answer content of the subjective question;
s3: determining whether the boundary is completely positioned in the area information of the photographing frame or not according to the boundary and the photographing frame;
s4: when the boundary is completely positioned in the area information of the photographing frame, acquiring an image checking value F (s, a) according to the boundary, the image in the boundary and the photographing frame;
wherein the image check value F (s, a) is associated with the number of pixel points of the image in the boundary and the included angle of adjacent edges in the boundary;
s5: and judging whether shooting conditions are met or not according to the image checking value F (s, a), and displaying a mark of 'shooting possibility' when the shooting conditions are met.
2. The answering method of the photographing answering machine according to claim 1, wherein said S1 includes:
the photographing answer device receives a photographing request triggered by a user and used for photographing a subjective question;
displaying at least one paper size to be selected, which is specifically: displaying A3 sheet size and/or a4 sheet size;
and after receiving a selection instruction of a user, generating a photographing frame according to the paper size corresponding to the selection instruction.
3. The answering method of the photo answering machine of claim 2,
in S1, the photographing frame includes a first frame and a second frame, and the first frame and the second frame are two closed frames with coincident geometric centers, the same shape, and different sizes;
in S3, the region information of the photo frame is a region between the first frame and the second frame.
4. The picture-taking answering machine answering method according to any one of claims 1-3, wherein said S4 includes:
obtaining the weighting coefficient K of the photographing structure1、K2The number of pixel points s of the preset image quality in the preset paper size0
Obtaining the included angle a of each adjacent edge in the corresponding boundary of the subjective question in the photographing frameiThe number of pixel points of the image in the boundary is s;
acquiring an image checking value F (s, a) according to the following formula I;
the formula I is as follows:
Figure FDA0002569375430000021
wherein the content of the first and second substances,
Figure FDA0002569375430000022
and i is a natural number of 1, 2, 3 or 4.
5. The answering method of the photo answering machine of claim 4,
weighting coefficient K to which photographing structure belongs1、K2Determined according to the pixels of the lens in the photographing structure and the focal length.
6. The picture-taking answering machine answering method according to any one of claims 1-3, wherein said S5 is followed by further comprising:
s6, acquiring a photographing sample of the paper to be photographed after receiving a photographing instruction triggered by a user;
and S7, uploading the photographed sample image to a server, or compressing the photographed sample image according to a preset proportion and uploading the compressed photographed sample image to the server.
7. A method of taking a picture, comprising:
p1: after receiving a photographing request triggered by a user and used for photographing an object to be photographed, generating a photographing frame according to a preset photographing condition;
p2, identifying the boundary of the image according to the image of the paper to be photographed displayed in the photographing frame;
p3: determining whether the boundary is completely positioned in the area information of the photographing frame or not according to the boundary and the photographing frame;
p4: when the boundary is completely positioned in the area information of the photographing frame, acquiring an image checking value F (s, a) according to the boundary, the image in the boundary and the photographing frame;
wherein the image checking value F (s, a) is associated with the number of pixel points of the image in the boundary and the included angle of the adjacent boundary in the boundary;
p5: and judging whether shooting conditions are met or not according to the image checking value F (s, a), and displaying a mark of 'shooting possibility' when the shooting conditions are met.
8. A photographing method as defined in claim 7, wherein the P4 includes:
obtaining the weighting coefficient K of the photographing equipment1、K2The number of pixel points s of the preset image quality in the preset shooting condition0
Obtaining the included angle a of each adjacent edge in the corresponding boundary of the object to be photographed in the photographing frameiThe number of pixel points of the image in the boundary is s;
acquiring an image checking value F (s, a) according to the following formula I;
the formula I is as follows:
Figure FDA0002569375430000031
wherein the content of the first and second substances,
Figure FDA0002569375430000032
i is 1, 2And 3, 4.
9. A photographing answering machine is characterized by comprising an objective question answering structure and a photographing structure for obtaining a subjective question answering image;
the photographing structure includes: a memory, a processor, and a program stored on the memory and executed on the processor, the processor when executing the program implementing the steps of any of the photographic answering machine answering methods of claims 1-6.
10. A system comprising a plurality of photo answering machines according to claim 9 and a backend server;
the photographing answering machine is communicated with the background server through a wireless network.
CN202010636708.1A 2020-06-23 2020-07-03 Answering method of photographing answering machine, photographing method, photographing answering machine and photographing answering system Active CN112752017B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010585447 2020-06-23
CN2020105854475 2020-06-23

Publications (2)

Publication Number Publication Date
CN112752017A true CN112752017A (en) 2021-05-04
CN112752017B CN112752017B (en) 2022-02-08

Family

ID=75645668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010636708.1A Active CN112752017B (en) 2020-06-23 2020-07-03 Answering method of photographing answering machine, photographing method, photographing answering machine and photographing answering system

Country Status (1)

Country Link
CN (1) CN112752017B (en)

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1912673A (en) * 2005-08-09 2007-02-14 精工爱普生株式会社 Light scan device and image display device
CN102137210A (en) * 2011-01-05 2011-07-27 王彤 Method for positioning shooting documents by square of document shooting instrument
CN102663379A (en) * 2012-03-22 2012-09-12 留越 Paper marking method based on image identification and system thereof
CN102998885A (en) * 2012-11-20 2013-03-27 芜湖雅图数字视频技术有限公司 Method for rectifying distortion of projected images of projector
CN103401994A (en) * 2013-07-11 2013-11-20 广东欧珀移动通信有限公司 Method for guiding to photograph and mobile terminal
CN103778816A (en) * 2014-01-27 2014-05-07 上海五和文化传播有限公司 Test paper answer extracting system
CN104239866A (en) * 2014-09-16 2014-12-24 科大讯飞股份有限公司 Answer sheet information collection method and device
JP2016031309A (en) * 2014-07-29 2016-03-07 株式会社東芝 Edge position detection device, width measurement device, and calibration method therefor
CN105631396A (en) * 2015-11-13 2016-06-01 东莞酷派软件技术有限公司 Method and device for obtaining soft copy of file
CN105787480A (en) * 2016-02-26 2016-07-20 广东小天才科技有限公司 Test question shooting method and device
CN106033534A (en) * 2015-03-18 2016-10-19 成都理想境界科技有限公司 Electronic paper marking method based on linear detection
CN106339705A (en) * 2016-08-16 2017-01-18 北京小米移动软件有限公司 Image acquisition method and device
CN106713749A (en) * 2016-12-13 2017-05-24 广州视源电子科技股份有限公司 Camera shooting control method and system and interactive intelligent integrated tablet computer
CN107506764A (en) * 2017-09-27 2017-12-22 武汉天量数据技术有限公司 A kind of answer card filling recognition methods and system
WO2018045592A1 (en) * 2016-09-12 2018-03-15 华为技术有限公司 Image shooting method and device, and terminal
CN108255344A (en) * 2018-01-24 2018-07-06 广东小天才科技有限公司 Topic method, system and hand-held photographing device are searched applied to hand-held photographing device
CN109743504A (en) * 2019-01-22 2019-05-10 努比亚技术有限公司 A kind of auxiliary photo-taking method, mobile terminal and storage medium
CN110248037A (en) * 2019-05-30 2019-09-17 苏宁金融服务(上海)有限公司 A kind of identity document scan method and device
CN110266938A (en) * 2018-12-27 2019-09-20 全球能源互联网研究院有限公司 Substation equipment intelligence image pickup method and device based on deep learning
CN110276335A (en) * 2019-07-04 2019-09-24 华中师范大学 A kind of mobile terminal paper acquisition method and device
CN110287913A (en) * 2019-06-28 2019-09-27 京东数字科技控股有限公司 Image flame detection reminding method and device, user terminal and storage medium
CN110798627A (en) * 2019-10-12 2020-02-14 深圳酷派技术有限公司 Shooting method, shooting device, storage medium and terminal

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1912673A (en) * 2005-08-09 2007-02-14 精工爱普生株式会社 Light scan device and image display device
CN102137210A (en) * 2011-01-05 2011-07-27 王彤 Method for positioning shooting documents by square of document shooting instrument
CN102663379A (en) * 2012-03-22 2012-09-12 留越 Paper marking method based on image identification and system thereof
CN102998885A (en) * 2012-11-20 2013-03-27 芜湖雅图数字视频技术有限公司 Method for rectifying distortion of projected images of projector
CN103401994A (en) * 2013-07-11 2013-11-20 广东欧珀移动通信有限公司 Method for guiding to photograph and mobile terminal
CN103778816A (en) * 2014-01-27 2014-05-07 上海五和文化传播有限公司 Test paper answer extracting system
JP2016031309A (en) * 2014-07-29 2016-03-07 株式会社東芝 Edge position detection device, width measurement device, and calibration method therefor
CN104239866A (en) * 2014-09-16 2014-12-24 科大讯飞股份有限公司 Answer sheet information collection method and device
CN106033534A (en) * 2015-03-18 2016-10-19 成都理想境界科技有限公司 Electronic paper marking method based on linear detection
CN105631396A (en) * 2015-11-13 2016-06-01 东莞酷派软件技术有限公司 Method and device for obtaining soft copy of file
CN105787480A (en) * 2016-02-26 2016-07-20 广东小天才科技有限公司 Test question shooting method and device
CN106339705A (en) * 2016-08-16 2017-01-18 北京小米移动软件有限公司 Image acquisition method and device
WO2018045592A1 (en) * 2016-09-12 2018-03-15 华为技术有限公司 Image shooting method and device, and terminal
CN106713749A (en) * 2016-12-13 2017-05-24 广州视源电子科技股份有限公司 Camera shooting control method and system and interactive intelligent integrated tablet computer
CN107506764A (en) * 2017-09-27 2017-12-22 武汉天量数据技术有限公司 A kind of answer card filling recognition methods and system
CN108255344A (en) * 2018-01-24 2018-07-06 广东小天才科技有限公司 Topic method, system and hand-held photographing device are searched applied to hand-held photographing device
CN110266938A (en) * 2018-12-27 2019-09-20 全球能源互联网研究院有限公司 Substation equipment intelligence image pickup method and device based on deep learning
CN109743504A (en) * 2019-01-22 2019-05-10 努比亚技术有限公司 A kind of auxiliary photo-taking method, mobile terminal and storage medium
CN110248037A (en) * 2019-05-30 2019-09-17 苏宁金融服务(上海)有限公司 A kind of identity document scan method and device
CN110287913A (en) * 2019-06-28 2019-09-27 京东数字科技控股有限公司 Image flame detection reminding method and device, user terminal and storage medium
CN110276335A (en) * 2019-07-04 2019-09-24 华中师范大学 A kind of mobile terminal paper acquisition method and device
CN110798627A (en) * 2019-10-12 2020-02-14 深圳酷派技术有限公司 Shooting method, shooting device, storage medium and terminal

Also Published As

Publication number Publication date
CN112752017B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
US7646400B2 (en) Method and apparatus for forming a panoramic image
EP3356887B1 (en) Method for stitching together images taken through fisheye lens in order to produce 360-degree spherical panorama
EP2709354B1 (en) Method of photographing panoramic image
CN108174240B (en) Panoramic video playing method and system based on user position
WO2016165488A1 (en) Photo processing method and device
JPH09181966A (en) Image processing method and device
JP5306544B2 (en) Image processing apparatus, image processing program, image processing method, and storage medium
Cooper et al. The perceptual basis of common photographic practice
WO2011153767A1 (en) Shooting method and apparatus for panorama photograph
CN101093348A (en) Apparatus and method for panoramic photography in portable terminal
US8164683B2 (en) Auto-focus method and digital camera
CN107358577B (en) Rapid splicing method of cubic panoramic image
WO2012002017A1 (en) Image capture device, program, and image capture method
JP2008205569A (en) Imaging apparatus and method
CN110278366B (en) Panoramic image blurring method, terminal and computer readable storage medium
US20220124247A1 (en) Panoramic photographing method and device, camera and mobile terminal
CN102387304B (en) Imaging apparatus
JP2009055125A (en) Imaging apparatus and its control method
CN112752017B (en) Answering method of photographing answering machine, photographing method, photographing answering machine and photographing answering system
JP5822700B2 (en) Image capturing method, image capturing apparatus, and program
JPH09501507A (en) One stand three-dimensional photograph printer and three-dimensional photograph printing method
CN115065782A (en) Scene acquisition method, acquisition device, camera equipment and storage medium
JP5104645B2 (en) Digital camera
TW201413368A (en) Three-dimension photographing device focused according to object distance and length between two eyes, its method, program product, recording medium and photographing alignment method
JP2636442B2 (en) Trimming print making system

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
GR01 Patent grant
GR01 Patent grant