CN111698426B - Test question shooting method and device, electronic equipment and storage medium - Google Patents

Test question shooting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111698426B
CN111698426B CN202010581453.3A CN202010581453A CN111698426B CN 111698426 B CN111698426 B CN 111698426B CN 202010581453 A CN202010581453 A CN 202010581453A CN 111698426 B CN111698426 B CN 111698426B
Authority
CN
China
Prior art keywords
definition
image
center
deviation
equal
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.)
Active
Application number
CN202010581453.3A
Other languages
Chinese (zh)
Other versions
CN111698426A (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN202010581453.3A priority Critical patent/CN111698426B/en
Publication of CN111698426A publication Critical patent/CN111698426A/en
Application granted granted Critical
Publication of CN111698426B publication Critical patent/CN111698426B/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/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • 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
    • 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/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • 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/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a method and a device for shooting test questions, electronic equipment and a storage medium. The method comprises the following steps: after receiving a photographing instruction, starting a front camera of the electronic equipment to acquire a preview image of a target document; calculating the definition of a preview image; when the definition is smaller than the preset definition, detecting the light intensity of the front camera through the optical sensor; when the light intensity is smaller than the preset intensity, a front flash lamp of the electronic equipment is started to improve the light intensity of the front camera; dynamically adjusting the brightness of the front flash lamp according to the definition until the definition is greater than or equal to the preset definition; and photographing the target document through the front camera to obtain a photographed image of the target document. By implementing the embodiment of the invention, the brightness of the flash lamp can be automatically adjusted by taking the definition as a reference.

Description

Test question shooting method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of image processing, in particular to a method and a device for shooting test questions, electronic equipment and a storage medium.
Background
Many electronic teaching auxiliary equipment all take leading camera to realize the examination questions function of shooing, search for the questions and the question is received and noted etc. through taking the question picture of shooing, because the influence of light intensity is shot, light is improper can cause and take a picture not clear, experiences relatively poor, and it is also relatively poor to search for the questions rate of accuracy or question and receive and note integrality.
Disclosure of Invention
Aiming at the defects, the embodiment of the invention discloses a method and a device for shooting test questions, electronic equipment and a storage medium, which are combined with definition to automatically adjust the brightness of a flash lamp.
The first aspect of the embodiment of the invention discloses a method for shooting test questions, which comprises the following steps:
after receiving a photographing instruction, starting a front camera of the electronic equipment to acquire a preview image of a target document;
calculating the definition of the preview image;
when the definition is smaller than the preset definition, detecting the light intensity of the front camera through an optical sensor;
when the light intensity is smaller than the preset intensity, a front flash lamp of the electronic equipment is started to improve the light intensity of a front camera;
dynamically adjusting the brightness of a front flash lamp according to the definition until the definition is greater than or equal to the preset definition;
and photographing the target document through the front-facing camera to obtain a photographed image of the target document.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the calculating the sharpness of the preview image includes:
inputting the preview image into a pre-trained frame recognition model, and determining a frame of the target document;
segmenting the preview image according to the frame to obtain a target document image;
converting the target document image into a grayscale image;
convolving the gray level image by using a Laplace operator;
and calculating a variance according to the convolution result, and taking the variance as the definition.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
when the brightness of the front flash lamp is dynamically adjusted and the definition still cannot be larger than or equal to the preset definition, determining the brightness of the front flash lamp corresponding to the target definition, wherein the target definition is the maximum one of the definitions of preview images corresponding to all brightness values of the front flash lamp;
determining the center of a document according to the frame, determining the image center of a preview image corresponding to the definition of a target, and calculating the deviation between the center of the document and the center of the image;
and adjusting the angle of the front camera through a driving mechanism according to the deviation so as to enable the image center and the document center to be superposed.
As an alternative implementation, in the first aspect of the embodiments of the present invention, adjusting an angle of the front camera by the driving mechanism according to the deviation so that the image center and the document center coincide includes:
setting a first step angle A1 and a second step angle A2 of the drive mechanism, wherein A1 > A2;
when the deviation is larger than or equal to a first preset distance L1, a driving mechanism is started to drive the front camera to rotate at the first step angle;
when the deviation is smaller than or equal to a first preset distance L1 and larger than or equal to a second preset distance L2, a driving mechanism is started to drive the front camera to rotate at the second step angle;
and stopping the action of the driving mechanism when the deviation is less than or equal to a third preset distance L3.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, when the definition is smaller than a preset definition and when the light intensity is greater than or equal to a preset intensity, the method includes:
determining the center of a document according to the frame, determining the center of an image of the current preview image, and calculating the deviation between the center of the document and the center of the image;
setting a first step angle A1 and a second step angle A2 of the drive mechanism, wherein A1 > A2;
when the deviation is larger than or equal to a first preset distance L1, a driving mechanism is started to drive the front camera to rotate at the first step angle;
when the deviation is smaller than or equal to a first preset distance L1 and larger than or equal to a second preset distance L2, a driving mechanism is started to drive the front camera to rotate at the second step angle;
and stopping the action of the driving mechanism when the deviation is less than or equal to a third preset distance L3.
The second aspect of the embodiments of the present invention discloses a device for shooting test questions, which includes:
the first starting unit is used for starting a front camera of the electronic equipment after receiving a photographing instruction, and acquiring a preview image of a target document;
a calculating unit for calculating the definition of the preview image;
the detection unit is used for detecting the light intensity of the front camera through the optical sensor when the definition is smaller than the preset definition;
the second starting unit is used for starting a front flash lamp of the electronic equipment when the light intensity is smaller than the preset intensity so as to improve the light intensity of the front camera;
the adjusting unit is used for dynamically adjusting the brightness of a front flash lamp according to the definition until the definition is greater than or equal to the preset definition;
and the photographing unit is used for photographing the target document through the front camera to obtain a photographed image of the target document.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the calculation unit includes:
the identification subunit is used for inputting the preview image into a pre-trained frame identification model and determining the frame of the target document;
the segmentation subunit is used for segmenting the preview image according to the frame to obtain a target document image;
a conversion subunit, configured to convert the target document image into a grayscale image;
a convolution subunit configured to convolve the grayscale image with a laplacian operator;
and the variance subunit is used for calculating the variance according to the convolution result and taking the variance as the definition.
As an alternative implementation, in the second aspect of the embodiment of the present invention, the apparatus further includes a rotating unit; the rotation unit includes:
the judging subunit is used for determining the brightness of the front flash lamp corresponding to the target definition when the brightness of the front flash lamp cannot be dynamically adjusted to ensure that the definition is greater than or equal to the preset definition, wherein the target definition is the largest one of the definitions of the preview images corresponding to the brightness values of the front flash lamp;
the deviation subunit is used for determining the center of the document according to the frame, determining the image center of the preview image corresponding to the definition of the target, and calculating the deviation between the center of the document and the image center;
and the rotating subunit is used for adjusting the angle of the front camera through a driving mechanism according to the deviation so as to enable the image center and the document center to be superposed.
As an alternative implementation, in a second aspect of the embodiment of the present invention, the rotor unit includes:
a setting grandchild unit for setting a first pitch angle A1 and a second pitch angle A2 of the drive mechanism, wherein A1 > A2;
the first rotating grandchild unit is used for starting a driving mechanism to drive the front camera to rotate at the first step angle when the deviation is larger than or equal to a first preset distance L1;
the second rotating grandchild unit is used for starting the driving mechanism to drive the front camera to rotate at the second step angle when the deviation is smaller than or equal to a first preset distance L1 and larger than or equal to a second preset distance L2;
and the third rotating grandchild unit is used for stopping the action of the driving mechanism when the deviation is less than or equal to a third preset distance L3.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, when the definition is smaller than a preset definition and when the light intensity is greater than or equal to a preset intensity, the apparatus further includes a rotating unit; the rotation unit includes:
the deviation subunit determines the center of the document according to the frame, determines the center of the image of the current preview image, and calculates the deviation between the center of the document and the center of the image;
a setting subunit for setting a first pitch angle A1 and a second pitch angle A2 of the drive mechanism, wherein A1 > A2;
the first rotor subunit is used for starting the driving mechanism to drive the front camera to rotate at the first step angle when the deviation is greater than or equal to a first preset distance L1;
the second rotating subunit is used for starting the driving mechanism to drive the front camera to rotate at the second step angle when the deviation is smaller than or equal to a first preset distance L1 and larger than or equal to a second preset distance L2;
and the third rotating subunit is used for stopping the action of the driving mechanism when the deviation is less than or equal to a third preset distance L3.
A third aspect of an embodiment of the present invention discloses an electronic device, including: a memory storing executable program code; a processor coupled with the memory; the processor calls the executable program code stored in the memory for executing part or all of the steps of the test question photographing method disclosed by the first aspect of the embodiment of the invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium storing a computer program, where the computer program causes a computer to execute some or all of the steps of the method for shooting test questions disclosed in the first aspect of the embodiments of the present invention.
A fifth aspect of the embodiments of the present invention discloses a computer program product, which, when running on a computer, causes the computer to execute part or all of the steps of the method for shooting test questions disclosed in the first aspect of the embodiments of the present invention.
A sixth aspect of the present invention discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, and when the computer program product runs on a computer, the computer is enabled to execute some or all of the steps of the method for shooting test questions disclosed in the first aspect of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, after a photographing instruction is received, a front-facing camera of the electronic equipment is started to obtain a preview image of a target document; calculating the definition of the preview image; when the definition is smaller than the preset definition, detecting the light intensity of the front camera through an optical sensor; when the light intensity is smaller than the preset intensity, a front flash lamp of the electronic equipment is started to improve the light intensity of a front camera; dynamically adjusting the brightness of a front flash lamp according to the definition until the definition is greater than or equal to the preset definition; and photographing the target document through the front-facing camera to obtain a photographed image of the target document. Therefore, by combining with the definition and taking the image definition as a reference standard, the embodiment of the invention can automatically adjust the brightness of the front flash lamp, thereby solving the problems of unclear photographing and poor experience caused by improper light.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for shooting test questions according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating another method for photographing test questions according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a front-facing camera rotation method disclosed in the embodiment of the present invention;
FIG. 4 is a schematic flowchart of another method for photographing test questions according to the embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an apparatus for photographing test questions according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another apparatus for photographing test questions according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of another apparatus for photographing test questions according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first", "second", "third", "fourth", and the like in the description and the claims of the present invention are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, apparatus, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a method and a device for shooting test questions, electronic equipment and a storage medium, which can automatically adjust the brightness of a front flash lamp by combining with the definition and taking the image definition as a reference standard, and solve the problems of unclear shooting and poor experience caused by improper light rays, and are described in detail by combining with the accompanying drawings.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for shooting test questions according to an embodiment of the present invention. As shown in fig. 1, the method for photographing test questions includes the following steps:
110. after receiving a photographing instruction, starting a front camera of the electronic equipment to acquire a preview image of the target document.
The electronic equipment can be teaching and auxiliary equipment such as a learning machine and a point reading machine, and can also be an intelligent terminal with a photographing function such as a mobile phone and a tablet personal computer. The electronic device is used for photographing documents such as paper books, exercise books, workbooks, test papers and the like, and the instruction for triggering photographing is various, and exemplarily, the instruction can be realized in a voice mode, for example, "please photograph" or "how to read the word (what the word means)" and the like, wherein the former voice mode only triggers photographing operation, a subsequent user intention needs a new instruction, and the latter voice mode triggers photographing operation and then realizes a corresponding user intention. The corresponding photographing instruction can be triggered by a key (such as a mechanical key or a touch key), and the photographing instruction can also be triggered when the electronic device enters a reading scene, such as reading an app.
In the embodiment of the invention, after the photographing instruction is received, the target document is not directly photographed, but the preview image of the target document is obtained. Whether photographing is carried out or not is determined by the definition of the preview image, and when the definition of the image does not meet the preset requirement, the definition of the image is improved by adjusting the light intensity.
120. And calculating the definition of the preview image.
The sharpness may be calculated directly from the preview image, but since the objective is to determine the sharpness with which the target document is photographed, determining the image of the target document portion may yield a more accurate result in calculating the sharpness.
Specifically, the preview image may be input into a pre-trained border recognition model, and a border of the target document may be determined. The frame of the target document can be obtained through edge detection, such as canny edge detection or straight line detection of Hough transform, and can also be obtained through a machine learning mode, so that a more accurate document center can be obtained.
After the frame of the target document is determined, an image in the frame, namely the target document image, is obtained based on an edge segmentation method. The sharpness is then calculated for the target document image. The image sharpness may be calculated by various methods, such as an image histogram method, an energy variance method, a square gradient energy method, an entropy function method, a frequency spectrum function method, a laplacian energy method, and the like. In the embodiment of the invention, the image definition is calculated by adopting a Laplace variance method. Firstly, converting a target document image (RGB) into a gray image, wherein the Grey of a conversion formula is 0.3 × R +0.59 × G +0.11 × B, the Grey is the gray value of a certain pixel point, and R, G, B are the RGB pixel color values of the pixel point in the target document image respectively; performing convolution operation on the gray level image through the Laplace operator, wherein an operation template of the Laplace operator can be a Laplace mask shown in a table 1; and finally, calculating the variance according to the convolution operation result, and taking the calculated variance as the definition value of the image.
TABLE 1 Laplace mask
1 1 1
1 -8 1
1 1 1
130. And when the definition is less than the preset definition, detecting the light intensity of the front camera through the optical sensor.
A threshold value is set for the definition, which is called a preset definition, when the definition calculated in step 120 is greater than or equal to the preset definition, it is determined that the preview image meets the requirement, step 160 may be executed, otherwise, if the definition is less than the preset definition, the reason is probably that the light intensity of the current environment is too low, and therefore, the light intensity of the front camera, that is, the light intensity of the current environment may be detected by the light sensor of the front camera, so as to detect the reason that the definition is not high.
140. And when the light intensity is smaller than the preset intensity, starting a front flash lamp of the electronic equipment to improve the light intensity of the front camera.
When light intensity is less than preset intensity, then think that the reason that causes the definition not high is because light intensity is improper, consequently, can promote the light intensity of leading camera through the mode of light filling, and the light intensity that promotes leading camera mainly is the leading flash light that corresponds through the leading camera that starts electronic equipment, through the luminance of adjusting leading flash light, accomplishes the light filling operation.
150. And dynamically adjusting the brightness of a front flash lamp according to the definition until the definition is greater than or equal to the preset definition.
The brightness of the front-mounted flash lamp can be adjusted by adjusting the current of the front-mounted flash lamp, the adjustment mode can be stepless adjustment or discrete adjustment of the equidistant or non-equidistant brightness range, the definition of the preview image is calculated again by adjusting (discrete adjustment) and presetting time interval (stepless adjustment) each time, when the current definition is larger than or equal to the preset definition, the adjustment of the brightness of the front-mounted flash lamp is stopped, and the step 160 is executed on the basis of the current brightness of the front-mounted flash lamp.
Certainly, in some other embodiments, the image sharpness corresponding to a plurality of brightness values of the front flash from zero to the maximum value may also be obtained, the brightness value of which the image sharpness is greater than or equal to the preset sharpness and is the maximum value among the plurality of image sharpness is selected as the target brightness value, and when the photo needs to be taken, the brightness of the front flash is adjusted to the target brightness value to take the photo.
160. And photographing the target document through the front-facing camera to obtain a photographed image of the target document.
When the image definition meets the requirement, namely the image definition is greater than or equal to the preset definition, the target document can be photographed, and a photographed image of the target document is obtained.
By implementing the embodiment of the invention, the brightness of the front flash lamp can be automatically adjusted by combining with the definition and taking the image definition as a reference standard, so that the problems of unclear photographing and poor experience caused by improper light rays are solved.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart of another test question photographing method according to an embodiment of the present invention. As shown in fig. 2, the method for photographing test questions includes the following steps:
210. after receiving a photographing instruction, starting a front camera of the electronic equipment to acquire a preview image of the target document.
220. And calculating the definition of the preview image.
230. And when the definition is less than the preset definition, detecting the light intensity of the front camera through the optical sensor.
240. And when the light intensity is smaller than the preset intensity, starting a front flash lamp of the electronic equipment to improve the light intensity of the front camera.
250. And dynamically adjusting the brightness of the front flash lamp according to the definition, and executing step 260 if the definition cannot be larger than or equal to the preset definition after multiple times of adjustment.
The brightness of the front-mounted flash lamp can be adjusted by adjusting the current of the front-mounted flash lamp, the adjustment mode can be stepless adjustment or discrete adjustment of an equidistant or non-equidistant brightness range, the definition of the preview image is calculated again by each adjustment (for the discrete adjustment) and a preset time interval (for the stepless adjustment), and if the brightness value of the front-mounted flash lamp is calculated for multiple times (preset times) from zero to the maximum value, the definition of the image obtained by each calculation cannot reach the preset definition, which indicates that the reason influencing the definition of the preview image is not the light intensity, step 260 is executed.
260. And rotating the front camera to enable the document center and the image center to be coincident or nearly coincident.
When the light intensity is not enough to cause a key influence on the image definition, the reason that the image definition is low may be caused by the fact that the front camera is in the horizontal direction, and the target document is also in the horizontal direction, the shooting range is narrow, and a large page is difficult to shoot, so that the shooting is unclear and incomplete.
Therefore, image definition adjustment can be achieved by rotating the front camera. Specifically, please refer to fig. 3, which includes the following steps:
261. and determining the brightness of the front flash lamp corresponding to the target definition, wherein the target definition is the maximum one of the definitions of the preview images corresponding to the brightness values of the front flash lamp, and the target definition is smaller than the preset definition.
The target definition is the largest one of the definitions of the preview image under the brightness values of the selected preset times, and when the operation of step 262-264 is performed, the brightness of the front-mounted flash lamp is adjusted to the brightness value corresponding to the target definition.
262. And determining the center of the document according to the frame.
Step 262 is used to determine the location of the center of the document in the preview image, which can be determined by the resulting border via border contraction.
263. And determining the image center of the preview image corresponding to the target definition, and calculating the deviation between the document center and the image center.
Step 263 is used to determine the position of the image center in the preview image, and the positions of the image center and the document center are determined in no order, or processed in parallel. The image center refers to a position of the Z-axis of the front camera on the photographed object, that is, the center of the preview image, and the position of the image center can be determined by a parameter of the front camera, that is, resolution, for example, if the front camera is 30 ten thousand pixels and the main stream of the resolution is 640 × 480, the pixel point of the image center in the preview image is (320, 240).
In some cases, when the resolution of the front camera cannot be directly obtained, the position of the image center can be determined by calculating the step distance and the center distance through the binary contour of the OpenCV. And obtaining the deviation between the image center and the document center through the position coordinates of the document center and the image center, wherein the deviation is a vector value and comprises a deviation distance and a deviation direction.
264. And adjusting the angle of the front camera through a driving mechanism according to the deviation so as to enable the image center and the document center to be superposed.
The driving mechanism is a mechanism for driving the front camera to rotate, the front camera can be directly driven by adopting a stepping motor, and the rotation control of the front camera can also be realized by the matching of the stepping motor and the pan-tilt, namely an electric pan-tilt. The rotation direction of the front camera can be determined according to the deviation, and the rotation amount is controlled through the step angle.
Illustratively, the rotation relation between the deviation direction and the electric pan-tilt head is determined through training, and the rotation times are controlled through the step angle, so that the coincidence of the image center and the document center is realized.
In some cases, if the preset step angle is too large, the situation that the image center cannot be superposed with the document center occurs, and at this time, the electric pan-tilt moves all the time, namely, the front camera shakes frequently, so that photographing cannot be realized; if the set step angle is too small, the adjustment time is too long, which affects the user experience and may cause frequent jitter.
In a preferred embodiment of the present invention, the step angle may be dynamically adjusted by first setting the first step angle a1 and the second step angle a2 of the driving mechanism, and the first step angle a1 and the second step angle a2 may be fixed values or dynamically adjusted values, for example, if a dynamically adjusted value is used, the first step angle may be based on the correspondence between the above-mentioned deviation and the first rotation number set value, so that when the first rotation number set value is reached according to the first step angle rotation, the current deviation between the image center and the document center is smaller than the distance adjusted according to the first step angle rotation, and similarly, the second step angle is dynamically set according to the current deviation between the image center and the document center and the second rotation number set value. Obviously, the first step angle is greater than the second step angle, which is greater than or equal to the minimum step angle of the stepper motor. Meanwhile, it is also necessary to set the current deviation within a certain range, and the image center and the document center are regarded as being overlapped, otherwise, if the complete overlapping of the image center and the document center cannot be realized at the minimum stepping angle of the stepping motor, frequent shaking of the front camera may occur.
Taking a fixed first step angle and a fixed second step angle as an example, when the deviation (the deviation distance is adopted in comparison) is greater than or equal to a first preset distance L1, the driving mechanism is started to drive the front camera to rotate by the first step angle, meanwhile, the current deviation between the image center and the document center is calculated after each rotation, when the current deviation between the image center and the document center is greater than or equal to a second preset distance L2 and less than or equal to the first preset distance L1, the driving mechanism is started to drive the front camera to rotate by the second step angle, when the front camera rotates by the second step angle, the current deviation between the image center and the document center is also calculated (for distinguishing, the current small deviation can be called), and when the current small deviation is less than or equal to a third preset distance L3, the rotation of the driving mechanism is stopped.
The method comprises the following steps of setting the center of an image and the center of a document to be coincident, wherein the center of the image and the center of the document are overlapped, so that the situation that the content of a target document is not in a shot image and the accuracy of subsequent question searching or the completeness of question recording is influenced is avoided, and certainly, if the target document is large enough, even if the center of the image and the center of the document are coincident, only a local target document is possibly shot, which is out of the protection range of the embodiment of the invention. And secondly, the image correction is convenient, the image center and the document center are overlapped, the deformation of the target document in the shot image is linear, and the correction of the target document is easily realized through a corresponding transformation matrix. And thirdly, the image center is superposed with the document center, the image definition is highest or tends to be highest, and subsequent question searching or question receiving is facilitated.
Wherein A1 is more than A2, and L1 is more than L2 is more than L3.
270. And photographing the target document through the front-facing camera to obtain a photographed image of the target document.
When the image definition meets the requirement, namely is greater than or equal to the preset definition; or when the image center and the document center are overlapped or nearly overlapped by adjusting, the target document can be photographed to obtain a photographed image of the target document.
By implementing the embodiment of the invention, the brightness of the front flash lamp and the position of the front camera can be automatically adjusted by combining the definition and the image center position and taking the image definition and the image center position as reference standards, so that the problems of unclear photographing and poor experience are solved.
EXAMPLE III
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating another method for shooting test questions according to an embodiment of the present invention. As shown in fig. 4, the method for photographing test questions includes the following steps:
310. after receiving a photographing instruction, starting a front camera of the electronic equipment to acquire a preview image of the target document.
320. And calculating the definition of the preview image.
330. And when the definition is less than the preset definition, detecting the light intensity of the front camera through the optical sensor.
340. And when the light intensity is greater than or equal to the preset intensity, rotating the front camera to enable the document center and the image center to be coincident or close to coincident.
When the light intensity is not enough to cause a key influence on the image definition, the reason that the image definition is low may be caused by the fact that the front camera is in the horizontal direction, and the target document is also in the horizontal direction, the shooting range is narrow, and a large page is difficult to shoot, so that the shooting is unclear and incomplete.
Therefore, image definition adjustment can be achieved by rotating the front camera. The center of the document is determined from the bounding box calculated in step 320. And determining the position of the document center in the preview image, and determining the document center through frame contraction by the obtained frame. And determining the image center of the preview image corresponding to the target definition, and calculating the deviation between the document center and the image center. And adjusting the angle of the front camera through a driving mechanism according to the deviation so as to enable the image center and the document center to be superposed. This process may be similar to the embodiment of step 262-264 and will not be described here.
350. And photographing the target document through the front-facing camera to obtain a photographed image of the target document.
When the light intensity of the environment is greater than the preset intensity under the condition that the front-mounted flash lamp is not started, the image definition cannot meet the requirement, and the image center and the document center are overlapped or nearly overlapped by adjusting, the target document can be photographed, so that the photographed image of the target document is obtained.
By implementing the embodiment of the invention, the brightness of the front flash lamp and the position of the front camera can be automatically adjusted by combining the definition and the image center position and taking the image definition and the image center position as reference standards, so that the problems of unclear photographing and poor experience are solved.
Example four
Referring to fig. 5, fig. 5 is a schematic structural diagram of a device for shooting test questions according to an embodiment of the present invention. As shown in fig. 5, the apparatus for photographing test questions may include:
the first starting unit 410 is configured to start a front camera of the electronic device after receiving the photographing instruction, and acquire a preview image of the target document;
a calculating unit 420 for calculating the sharpness of the preview image;
the detection unit 430 is configured to detect the light intensity of the front camera through the optical sensor when the resolution is smaller than a preset resolution;
the second starting unit 440 is configured to start a front-facing flash of the electronic device when the light intensity is smaller than a preset intensity, so as to increase the light intensity of a front-facing camera;
the adjusting unit 450 is configured to dynamically adjust the brightness of the front-end flash according to the definition until the definition is greater than or equal to the preset definition;
and the photographing unit 460 is configured to photograph the target document through the front-facing camera to obtain a photographed image of the target document.
As an optional implementation, the computing unit 420 includes:
the recognition subunit 421 is configured to input the preview image into a pre-trained frame recognition model, and determine a frame of the target document;
a dividing subunit 422, configured to divide the preview image according to the frame, so as to obtain a target document image;
a conversion sub-unit 423 for converting the target document image into a grayscale image;
a convolution subunit 424, configured to convolve the grayscale image with the laplacian;
a variance sub-unit 425 configured to calculate a variance from the convolution result, and use the variance as the sharpness.
The device that the examination question that figure 5 shows was shot can be through combining with the definition to the image definition is the reference, and leading flash light luminance of automatically regulated solves and can cause the not clear of shooing because of light is improper, experiences relatively poor problem.
EXAMPLE five
Referring to fig. 6, fig. 6 is a schematic structural diagram of a device for shooting test questions according to an embodiment of the present invention. As shown in fig. 6, the apparatus for photographing test questions may include:
the first starting unit 510 is configured to start a front camera of the electronic device after receiving the photographing instruction, and acquire a preview image of the target document;
a calculating unit 520, configured to calculate a sharpness of the preview image;
a detecting unit 530, configured to detect, by using an optical sensor, light intensity of the front camera when the resolution is smaller than a preset resolution;
the second starting unit 540 is configured to start a front-facing flash of the electronic device when the light intensity is smaller than a preset intensity, so as to increase the light intensity of a front-facing camera;
an adjusting unit 550, configured to dynamically adjust the brightness of the front-end flash according to the definition until the definition is greater than or equal to the preset definition;
and the photographing unit 570 is used for photographing the target document through the front camera to obtain a photographed image of the target document.
As an optional implementation, the computing unit 520 includes:
the recognition subunit 521 is configured to input the preview image into a pre-trained frame recognition model, and determine a frame of the target document;
a dividing subunit 522, configured to divide the preview image according to the frame, to obtain a target document image;
a conversion subunit 523 configured to convert the target document image into a grayscale image;
a convolution subunit 524, configured to convolve the grayscale image with a laplacian operator;
and a variance subunit 525, configured to calculate a variance according to the convolution result, and use the variance as the sharpness.
As an alternative embodiment, the apparatus further comprises a rotation unit 560; the rotation unit 560 includes:
a judging subunit 561, configured to determine the brightness of the front flash corresponding to a target definition when the brightness of the front flash still cannot be dynamically adjusted so that the definition is greater than or equal to the preset definition, where the target definition is the largest one of the definitions of preview images corresponding to the brightness values of the front flash;
a deviation sub-unit 562, configured to determine a document center according to the frame, determine an image center of a preview image corresponding to a target definition, and calculate a deviation between the document center and the image center;
and the rotor unit 563 is used for adjusting the angle of the front camera through a driving mechanism according to the deviation so as to enable the image center and the document center to be overlapped.
As an optional implementation, the rotor subunit 563 includes:
setting a grandchild unit 5631 for setting a first pitch angle a1 and a second pitch angle a2 of the drive mechanism, wherein a1 > a 2;
the first rotating grandchild unit 5632 is configured to, when the deviation is greater than or equal to a first preset distance L1, start the driving mechanism to drive the front camera to rotate at the first step angle;
the second rotating grandchild unit 5633 is configured to, when the deviation is smaller than or equal to a first preset distance L1 and larger than or equal to a second preset distance L2, start the driving mechanism to drive the front camera to rotate at the second step angle;
a third swing sun unit 5634 configured to stop the operation of the driving mechanism when the deviation is less than or equal to a third preset distance L3.
The device that the examination question was shot shown in figure 6 can be through combining with definition and image central point to image definition and image central point are the reference standard, and the position of leading flash light luminance of automatically regulated and leading camera solves and shoots not clear, experiences relatively poor problem.
EXAMPLE six
Referring to fig. 7, fig. 7 is a schematic structural diagram of another device for shooting test questions according to the embodiment of the present invention. As shown in fig. 7, the apparatus for photographing test questions may include:
the first starting unit 610 is used for starting a front camera of the electronic equipment after receiving a photographing instruction, and acquiring a preview image of a target document;
a calculating unit 620 configured to calculate a sharpness of the preview image;
a detecting unit 630, configured to detect, by an optical sensor, light intensity of the front camera when the sharpness is smaller than a preset sharpness;
the second starting unit 640 is configured to start a front-facing flash of the electronic device when the light intensity is smaller than a preset intensity, so as to improve the light intensity of a front-facing camera;
the adjusting unit 650 is configured to dynamically adjust the brightness of the front-end flash according to the definition until the definition is greater than or equal to the preset definition;
and the photographing unit 670 is configured to photograph the target document through the front camera to obtain a photographed image of the target document.
As an optional implementation, the computing unit 620 includes:
the recognition subunit 621 is configured to input the preview image into a pre-trained frame recognition model, and determine a frame of the target document;
a dividing subunit 622, configured to divide the preview image according to the frame, so as to obtain a target document image;
a conversion sub-unit 623 for converting the target document image into a grayscale image;
a convolution subunit 624, configured to convolve the grayscale image with the laplacian;
a variance subunit 625, configured to calculate a variance according to the convolution result, and use the variance as the sharpness.
As an optional embodiment, when the sharpness is less than a preset sharpness and when the light intensity is greater than or equal to a preset intensity, the apparatus further includes a rotating unit 660; the rotation unit 660 includes:
a deviation subunit 661, configured to determine a document center according to the frame, determine an image center of the current preview image, and calculate a deviation between the document center and the image center;
setting a stator unit 662 for setting a first pitch angle a1 and a second pitch angle a2 of the drive mechanism, wherein a1 > a 2;
the first rotor unit 663 is used for starting the driving mechanism to drive the front camera to rotate at the first step angle when the deviation is greater than or equal to a first preset distance L1;
the second rotating subunit 664 is used for starting the driving mechanism to drive the front camera to rotate at the second step angle when the deviation is smaller than or equal to a first preset distance L1 and larger than or equal to a second preset distance L2;
a third rotation subunit 665, configured to stop the action of the driving mechanism when the deviation is less than or equal to a third preset distance L3.
The device that the examination question was shot shown in figure 7 can be through combining with definition and image central point to image definition and image central point are the reference standard, and the position of leading flash light luminance of automatically regulated and leading camera solves and shoots not clear, experiences relatively poor problem.
EXAMPLE seven
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. As shown in fig. 8, the electronic device may include:
a memory 710 storing executable program code;
a processor 720 coupled to the memory 710;
the processor 720 calls the executable program code stored in the memory 710 to execute some or all of the steps in the method for shooting the test questions in the first to third embodiments.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute part or all of the steps in the method for shooting test questions in the first embodiment to the third embodiment.
The embodiment of the invention also discloses a computer program product, wherein when the computer program product runs on a computer, the computer is enabled to execute part or all of the steps in the method for shooting the test questions in the first embodiment to the third embodiment.
The embodiment of the invention also discloses an application publishing platform, wherein the application publishing platform is used for publishing the computer program product, and when the computer program product runs on a computer, the computer is enabled to execute part or all of the steps in the method for shooting the test questions in the first embodiment to the third embodiment.
In various embodiments of the present invention, it should be understood that the sequence numbers of the processes do not mean the execution sequence necessarily in order, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the method according to the embodiments of the present invention.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B can be determined. It should also be understood, however, that determining B from a does not mean determining B from a alone, but may also be determined from a and/or other information.
Those of ordinary skill in the art will appreciate that some or all of the steps of the methods of the embodiments may be implemented by hardware instructions associated with a program, which may be stored in a computer-readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM), or other Memory, a CD-ROM, or other disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The method, the apparatus, the electronic device and the storage medium for shooting test questions disclosed in the embodiments of the present invention are described in detail above, and the principle and the implementation manner of the present invention are explained in this document by applying specific embodiments, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for shooting test questions is characterized by comprising the following steps:
after receiving a photographing instruction, starting a front camera of the electronic equipment to acquire a preview image of a target document;
calculating the definition of the preview image; the calculating the definition of the preview image comprises the following steps: inputting the preview image into a pre-trained frame recognition model, and determining a frame of the target document;
when the definition is smaller than the preset definition, detecting the light intensity of the front camera through an optical sensor;
when the light intensity is smaller than the preset intensity, a front flash lamp of the electronic equipment is started to improve the light intensity of a front camera;
dynamically adjusting the brightness of a front flash lamp according to the definition until the definition is greater than or equal to the preset definition;
when the brightness of the front flash lamp is dynamically adjusted and the definition still cannot be larger than or equal to the preset definition, determining the brightness of the front flash lamp corresponding to the target definition, wherein the target definition is the maximum one of the definitions of preview images corresponding to all brightness values of the front flash lamp;
determining the center of a document according to the frame, determining the image center of a preview image corresponding to the definition of a target, and calculating the deviation between the center of the document and the center of the image;
adjusting the angle of a front camera through a driving mechanism according to the deviation so as to enable the image center and the document center to be superposed;
and photographing the target document through the front-facing camera to obtain a photographed image of the target document.
2. The method of claim 1, wherein calculating the sharpness of the preview image further comprises:
segmenting the preview image according to the frame to obtain a target document image;
converting the target document image into a grayscale image;
convolving the gray level image by using a Laplace operator;
and calculating a variance according to the convolution result, and taking the variance as the definition.
3. The method of claim 1, wherein adjusting an angle of a front camera by a drive mechanism based on the deviation to coincide the image center and the document center comprises:
setting a first step angle A1 and a second step angle A2 of the drive mechanism, wherein A1 > A2;
when the deviation is larger than or equal to a first preset distance L1, a driving mechanism is started to drive the front camera to rotate at the first step angle;
when the deviation is smaller than or equal to a first preset distance L1 and larger than or equal to a second preset distance L2, a driving mechanism is started to drive the front camera to rotate at the second step angle;
and stopping the action of the driving mechanism when the deviation is less than or equal to a third preset distance L3.
4. The method of claim 2, wherein when the sharpness is less than a predetermined sharpness and the light intensity is greater than or equal to a predetermined intensity, the method comprises:
determining the center of a document according to the frame, determining the center of an image of the current preview image, and calculating the deviation between the center of the document and the center of the image;
setting a first step angle A1 and a second step angle A2 of the drive mechanism, wherein A1 > A2;
when the deviation is larger than or equal to a first preset distance L1, a driving mechanism is started to drive the front camera to rotate at the first step angle;
when the deviation is smaller than or equal to a first preset distance L1 and larger than or equal to a second preset distance L2, a driving mechanism is started to drive the front camera to rotate at the second step angle;
and stopping the action of the driving mechanism when the deviation is less than or equal to a third preset distance L3.
5. An apparatus for photographing test questions, the apparatus comprising:
the first starting unit is used for starting a front camera of the electronic equipment after receiving a photographing instruction, and acquiring a preview image of a target document;
a calculating unit for calculating the definition of the preview image; the calculation unit includes: the identification subunit is used for inputting the preview image into a pre-trained frame identification model and determining the frame of the target document;
the detection unit is used for detecting the light intensity of the front camera through the optical sensor when the definition is smaller than the preset definition;
the second starting unit is used for starting a front flash lamp of the electronic equipment when the light intensity is smaller than the preset intensity so as to improve the light intensity of the front camera;
the adjusting unit is used for dynamically adjusting the brightness of a front flash lamp according to the definition until the definition is greater than or equal to the preset definition;
the device further comprises a rotation unit; the rotation unit includes:
the judging subunit is used for determining the brightness of the front flash lamp corresponding to the target definition when the brightness of the front flash lamp cannot be dynamically adjusted to ensure that the definition is greater than or equal to the preset definition, wherein the target definition is the largest one of the definitions of the preview images corresponding to the brightness values of the front flash lamp;
the deviation subunit is used for determining the center of the document according to the frame, determining the image center of the preview image corresponding to the definition of the target, and calculating the deviation between the center of the document and the image center;
the rotating subunit is used for adjusting the angle of the front camera through a driving mechanism according to the deviation so as to enable the image center and the document center to be superposed; and the photographing unit is used for photographing the target document through the front camera to obtain a photographed image of the target document.
6. The apparatus of claim 5, wherein the computing unit comprises:
the segmentation subunit is used for segmenting the preview image according to the frame to obtain a target document image;
a conversion subunit, configured to convert the target document image into a grayscale image;
a convolution subunit configured to convolve the grayscale image with a laplacian operator;
and the variance subunit is used for calculating the variance according to the convolution result and taking the variance as the definition.
7. The apparatus of claim 5, wherein the rotary subunit comprises:
a setting grandchild unit for setting a first pitch angle A1 and a second pitch angle A2 of the drive mechanism, wherein A1 > A2;
the first rotating grandchild unit is used for starting a driving mechanism to drive the front camera to rotate at the first step angle when the deviation is larger than or equal to a first preset distance L1;
the second rotating grandchild unit is used for starting the driving mechanism to drive the front camera to rotate at the second step angle when the deviation is smaller than or equal to a first preset distance L1 and larger than or equal to a second preset distance L2;
and the third rotating grandchild unit is used for stopping the action of the driving mechanism when the deviation is less than or equal to a third preset distance L3.
8. The apparatus according to claim 6, further comprising a rotating unit when the sharpness is less than a preset sharpness and when the light intensity is greater than or equal to a preset intensity; the rotation unit includes:
the deviation subunit determines the center of the document according to the frame, determines the center of the image of the current preview image, and calculates the deviation between the center of the document and the center of the image;
a setting subunit for setting a first pitch angle A1 and a second pitch angle A2 of the drive mechanism, wherein A1 > A2;
the first rotor subunit is used for starting the driving mechanism to drive the front camera to rotate at the first step angle when the deviation is greater than or equal to a first preset distance L1;
the second rotating subunit is used for starting the driving mechanism to drive the front camera to rotate at the second step angle when the deviation is smaller than or equal to a first preset distance L1 and larger than or equal to a second preset distance L2;
and the third rotating subunit is used for stopping the action of the driving mechanism when the deviation is less than or equal to a third preset distance L3.
9. An electronic device, comprising: a memory storing executable program code; a processor coupled with the memory; the processor calls the executable program code stored in the memory for executing a method of test question photographing as claimed in any one of claims 1 to 4.
10. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute a method of test question photographing according to any one of claims 1 to 4.
CN202010581453.3A 2020-06-23 2020-06-23 Test question shooting method and device, electronic equipment and storage medium Active CN111698426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010581453.3A CN111698426B (en) 2020-06-23 2020-06-23 Test question shooting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010581453.3A CN111698426B (en) 2020-06-23 2020-06-23 Test question shooting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111698426A CN111698426A (en) 2020-09-22
CN111698426B true CN111698426B (en) 2021-08-03

Family

ID=72483498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010581453.3A Active CN111698426B (en) 2020-06-23 2020-06-23 Test question shooting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111698426B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112272267A (en) * 2020-10-22 2021-01-26 Oppo广东移动通信有限公司 Shooting control method, shooting control device and electronic equipment
CN112863010B (en) * 2020-12-29 2022-08-05 宁波友好智能安防科技有限公司 Video image processing system of anti-theft lock
CN113038022A (en) * 2021-03-26 2021-06-25 北京乐学帮网络技术有限公司 Test question processing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1427212A1 (en) * 2002-11-27 2004-06-09 Bosch Security Systems, Inc. Video tracking system and method
CN105872321A (en) * 2015-12-10 2016-08-17 乐视移动智能信息技术(北京)有限公司 Front-mounted camera brightness compensation method and device, and mobile terminal
CN108282614A (en) * 2018-01-19 2018-07-13 广东小天才科技有限公司 A kind of taking pictures based on multiple light courcess searches topic method, system and hand-held photographing device
CN109729272A (en) * 2019-01-04 2019-05-07 平安科技(深圳)有限公司 A kind of filming control method, terminal device and computer readable storage medium
CN110337622A (en) * 2018-08-31 2019-10-15 深圳市大疆创新科技有限公司 Vertical tranquilizer control method, vertical tranquilizer and image acquisition equipment
CN110401799A (en) * 2019-08-02 2019-11-01 睿魔智能科技(深圳)有限公司 A kind of auto-tracking shooting method and system
CN110958394A (en) * 2019-12-18 2020-04-03 江苏紫米电子技术有限公司 Camera shooting method, device, storage medium and camera

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7933446B2 (en) * 2004-01-28 2011-04-26 Transpacific Optics Llc Method and apparatus for automatically detecting image and character data
US11012608B2 (en) * 2016-09-12 2021-05-18 Huawei Technologies Co., Ltd. Processing method and mobile device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1427212A1 (en) * 2002-11-27 2004-06-09 Bosch Security Systems, Inc. Video tracking system and method
CN105872321A (en) * 2015-12-10 2016-08-17 乐视移动智能信息技术(北京)有限公司 Front-mounted camera brightness compensation method and device, and mobile terminal
CN108282614A (en) * 2018-01-19 2018-07-13 广东小天才科技有限公司 A kind of taking pictures based on multiple light courcess searches topic method, system and hand-held photographing device
CN110337622A (en) * 2018-08-31 2019-10-15 深圳市大疆创新科技有限公司 Vertical tranquilizer control method, vertical tranquilizer and image acquisition equipment
CN109729272A (en) * 2019-01-04 2019-05-07 平安科技(深圳)有限公司 A kind of filming control method, terminal device and computer readable storage medium
CN110401799A (en) * 2019-08-02 2019-11-01 睿魔智能科技(深圳)有限公司 A kind of auto-tracking shooting method and system
CN110958394A (en) * 2019-12-18 2020-04-03 江苏紫米电子技术有限公司 Camera shooting method, device, storage medium and camera

Also Published As

Publication number Publication date
CN111698426A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN111698426B (en) Test question shooting method and device, electronic equipment and storage medium
US10917571B2 (en) Image capture device control based on determination of blur value of objects in images
EP3598736B1 (en) Method and apparatus for processing image
CN111698428B (en) Document shooting method and device, electronic equipment and storage medium
CN111027504A (en) Face key point detection method, device, equipment and storage medium
CN109729272B (en) Shooting control method, terminal device and computer readable storage medium
CN108737718B (en) Shooting method and device and intelligent equipment
CN110266946B (en) Photographing effect automatic optimization method and device, storage medium and terminal equipment
CN107026979B (en) Double-camera shooting method and device
CN109451240B (en) Focusing method, focusing device, computer equipment and readable storage medium
CN111932462B (en) Training method and device for image degradation model, electronic equipment and storage medium
CN109379538B (en) Image acquisition device, system and method
CN108289176B (en) Photographing question searching method, question searching device and terminal equipment
CN114500857A (en) Image shooting method and device, terminal equipment and storage medium
CN113963149A (en) Medical bill picture fuzzy judgment method, system, equipment and medium
CN107992816B (en) Photographing search method and device, electronic equipment and computer readable storage medium
CN109981967B (en) Shooting method and device for intelligent robot, terminal equipment and medium
US10373329B2 (en) Information processing apparatus, information processing method and storage medium for determining an image to be subjected to a character recognition processing
CN110557556A (en) Multi-object shooting method and device
CN112272267A (en) Shooting control method, shooting control device and electronic equipment
CN110868543A (en) Intelligent photographing method and device and computer readable storage medium
CN112995503B (en) Gesture control panoramic image acquisition method and device, electronic equipment and storage medium
CN113824874A (en) Auxiliary shooting method and device, electronic equipment and storage medium
CN113784119A (en) Focusing detection method and device and electronic equipment
WO2017042708A1 (en) Method and system for photographing long text subjects that extend beyond borders of a viewfinder

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