CN108289176B - Photographing question searching method, question searching device and terminal equipment - Google Patents

Photographing question searching method, question searching device and terminal equipment Download PDF

Info

Publication number
CN108289176B
CN108289176B CN201810142896.5A CN201810142896A CN108289176B CN 108289176 B CN108289176 B CN 108289176B CN 201810142896 A CN201810142896 A CN 201810142896A CN 108289176 B CN108289176 B CN 108289176B
Authority
CN
China
Prior art keywords
shooting
instruction
image
definition
preset
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
CN201810142896.5A
Other languages
Chinese (zh)
Other versions
CN108289176A (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.)
TCL China Star Optoelectronics Technology Co Ltd
Original Assignee
Shenzhen China Star Optoelectronics 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 Shenzhen China Star Optoelectronics Technology Co Ltd filed Critical Shenzhen China Star Optoelectronics Technology Co Ltd
Priority to CN201810142896.5A priority Critical patent/CN108289176B/en
Publication of CN108289176A publication Critical patent/CN108289176A/en
Application granted granted Critical
Publication of CN108289176B publication Critical patent/CN108289176B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • 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
    • 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/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6812Motion detection based on additional sensors, e.g. acceleration sensors

Abstract

The invention is suitable for the technical field of image recognition and provides a photographing question searching method, a question searching device and terminal equipment, wherein the photographing question searching method comprises the following steps: acquiring an inclination angle of a shooting interface of a shooting device relative to a shot object; when the inclination angle is smaller than the threshold value, focusing the shot object, and starting dynamic shooting after successful focusing; stopping dynamic shooting after receiving a preset instruction, and acquiring images with preset frame numbers at intervals in the dynamic shooting; calculating the definition of images with preset frame intervals, comparing the definition, and selecting the image with the maximum definition; identifying the content in the image with the maximum definition, and uploading the identified content to a server for test question matching; and receiving and displaying a problem solving result which is fed back by the server and corresponds to the matched test problem. The invention can solve the problems that the shooting jitter is generated during shooting, the shot image is not clear, and the efficiency and the accuracy of searching the questions are influenced.

Description

Photographing question searching method, question searching device and terminal equipment
Technical Field
The invention belongs to the technical field of image recognition, and particularly relates to a photographing question searching method, a question searching device and terminal equipment.
Background
At present, a plurality of search question applications such as ape search questions, homework help and the like exist in the market, and answers can be presented by uploading the questions after the applications are downloaded to the mobile terminal. Compared with the method of manually inputting the questions and then searching, the method of shooting and uploading the questions is simpler and faster.
However, when the user uses the mobile terminal to photograph the questions, the user cannot keep the mobile terminal in a stable state for a long time, and the photographed pictures are not clear due to frequent photographing jitter of the questions, so that the efficiency and accuracy of searching the questions are reduced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a photographing question searching method, a question searching device, and a terminal device, so as to solve the problems in the prior art that photographing jitter occurs during photographing question searching, which results in unclear photographed images and reduces question searching efficiency and accuracy.
A first aspect of an embodiment of the present invention provides a method for searching for questions by taking a picture, including:
acquiring an inclination angle of a shooting interface of a shooting device relative to a shot object;
when the inclination angle is smaller than the threshold value, focusing the shot object, and starting dynamic shooting after successful focusing;
stopping dynamic shooting after receiving a preset instruction, and acquiring images with preset frame numbers at intervals in the dynamic shooting;
calculating the definition of images with preset frame intervals, comparing the definition, and selecting the image with the maximum definition;
identifying the content in the image with the maximum definition, and uploading the identified content to a server for test question matching;
and receiving and displaying a problem solving result which is fed back by the server and corresponds to the matched test problem.
A second aspect of the embodiments of the present invention provides a topic searching device, including a shooting device, further including:
the angle acquisition module is used for acquiring the inclination angle of a shooting interface of the shooting device relative to a shot object;
the judging module is used for focusing the shot object when the inclination angle is smaller than the threshold value, and starting dynamic shooting after the focusing is successful;
the image acquisition module is used for stopping dynamic shooting after receiving a preset instruction and acquiring images with preset frame numbers in the dynamic shooting;
the calculation module is used for calculating the definition of the images with the interval preset frame number, comparing the definition and selecting the image with the maximum definition;
the identification module is used for identifying the content in the image with the maximum definition and uploading the identified content to the server for test question matching;
and the receiving module is used for receiving and displaying the problem solving result which is fed back by the server and corresponds to the matched test question.
A third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of any one of the above methods when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the steps of any one of the methods described above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the embodiment of the invention provides a shooting and question searching method, which is characterized in that whether a focusing mode and a dynamic shooting mode of a shooting device are started or not is judged according to the inclination angle of a shooting interface of the shooting device relative to a shot object, and an image with the maximum definition in the dynamic shooting mode is screened out so as to obtain the clearest image, so that the problem that the shot image is not clear due to shooting shake in the process of shooting and question searching of a user is avoided, and the efficiency and the accuracy of shooting and question searching are improved.
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 or the prior art descriptions 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 to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic view illustrating a flowchart of a method for searching for a question by taking a picture according to a first embodiment of the present invention;
FIG. 2 is a schematic flow chart of the method of step S106 in FIG. 1;
FIG. 3 is a schematic flow chart of another implementation of step S106 in FIG. 1;
FIG. 4 is a schematic structural diagram of a topic searching apparatus according to a second embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal device according to a third embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
Fig. 1 is a schematic flow chart illustrating an implementation of a photo topic searching method according to a first embodiment of the present invention. As shown in the figure, a method for searching for questions by taking a picture may include:
step S101: the inclination angle of a shooting interface of the shooting device relative to a shot object is acquired.
In the above step S101, the inclination angle may be acquired by a gravity sensor. First, the inclination angle of the shooting interface of the shooting device relative to the horizontal ground can be obtained through a gravity sensor. In the present embodiment, the exercise book is placed on a horizontal plane, and the tilt angle obtained by the gravity sensor is the tilt angle of the shooting interface of the shooting device relative to the object.
It is understood that the photographing device is provided on the mobile terminal, and a gravity sensor may be provided in the mobile terminal.
Step S102: and when the inclination angle is smaller than a threshold value, focusing the shot object, and starting dynamic shooting after successful focusing.
In the step S102, preferably, the threshold of the inclination angle is 5 degrees, when the inclination angle is smaller than 5 degrees, the shooting device focuses on the object, and starts dynamic shooting after focusing is successful.
Preferably, after focusing is successful, the user can be reminded of successful focusing in a mode of flickering a light projection point; the user is reminded to keep the shooting device stable as much as possible after focusing is successful, so that a clear image can be acquired in subsequent dynamic shooting.
The motion picture shooting means shooting continuous motion pictures, and also means shooting continuous pictures in a short time.
Step S103: and after receiving a preset instruction, stopping the dynamic shooting and acquiring images with preset frame numbers in the dynamic shooting.
In the above step S103, the predetermined specification may be a shutter instruction given by the user or a title shooting instruction in a title search application.
It should be noted that, the frames in the images with the interval preset number of frames are short for the frame generation number, and because each frame is a static image, the motion artifacts are formed by displaying the frames in quick succession, so that a high frame rate can obtain smoother and more vivid animation. If the frame rate of an animation is constantly 60 frames per second, then its number of frames in one second is 60 frames.
In this embodiment, it is preferable that the preset number of frames is set to 60 frames. In the actual shooting process, it is assumed that the shooting device can shoot 120 frames of images per second, and 5 seconds are used from the beginning of dynamic shooting to the end of dynamic shooting, namely dynamic shooting is started, and the time for ending dynamic shooting is 5 seconds from the receiving of a preset instruction, if the preset frame number is 60 frames, an image is obtained once every 60 frames, and finally 10 images with the interval of 60 frames in the dynamic shooting of 5 seconds can be obtained in the current shooting process.
It can be understood that if a predetermined instruction is not received, the tilt angle of the shooting interface of the shooting device with respect to the object is continuously acquired, when the tilt angle is smaller than the threshold, the object is focused, and after the focusing is successful, the dynamic shooting is continuously started.
Step S104: and calculating the definition of the images with the interval preset frame number, comparing the definitions and selecting the image with the maximum definition.
In the step S104, the calculating the sharpness of the image with the interval preset number of frames includes:
step S1041: and taking the images with the preset frame number in the dynamic shooting as sample images.
Step S1042: calculating the sharpness of the sample image by a gradient function.
It should be noted that, in the step S1042, calculating the sharpness of the sample image may be obtained by calculating an image gradient. Specifically, in image processing, image gradients can be used for edge extraction, the sharper the image edge is, the larger the image gradient value should be, the better the focusing is, and image gray gradient energy functions, Robert gradients, laplacian and the like belong to gradient functions. The sweet potatoes can be directly called through the existing program interface, the numerical value of the definition is output, and the larger the numerical value is, the clearer the image is.
Preferably, in the present embodiment, the sharpness of the sample image is determined by the laplacian transform calculation.
Step S105: and identifying the content in the image with the maximum definition, and uploading the identified content to a server for test question matching.
In the step S105, the identifying the inner frame of the image with the maximum definition includes: the content of the image with the greatest sharpness is recognized by OCR (Optical Character Recognition).
Step S106: and receiving and displaying the problem solving result which is fed back by the server and corresponds to the matched test problem.
In the step S106, the problem solving result includes: solving the problem process and the answer;
specifically, as shown in fig. 2: the step of displaying the problem solving result fed back by the server and corresponding to the matched test question comprises the following steps:
step S1061 a: and displaying the problem solving process fed back by the server and corresponding to the matched test problem, and shielding the problem solving process by using a preset first non-transparent covering layer.
Step S1061 b: and displaying the answer which is fed back by the server and corresponds to the matched test question, and shielding the answer by using a preset second non-transparent covering layer.
As shown in fig. 3: after displaying the question solving result corresponding to the matched test question fed back by the server, the method further comprises the following steps:
step S1062 a: when a first masking layer elimination instruction is received, eliminating the first non-transparent masking layer under the instruction of the first masking layer elimination instruction;
step S1062 b: when a second overlay cancellation instruction is received, canceling the second non-transparent overlay under the instruction of the second overlay cancellation instruction.
In the above steps S1061a, S1061b, S1062a and S1061b, by setting a non-transparent covering layer to cover the problem solving process and the answer, the application scenario of the photo-taking question searching method is expanded, so that the photo-taking question searching method is no longer limited to the search answer, a thinking space is provided for the user, and the practicability of the photo-taking question searching is increased.
For example, the user may first check whether the answer to the question is correct, i.e., only eliminate the second non-transparent covering layer, but not the first non-transparent covering layer, if necessary. If the user answers are not correct and chooses to continue to do the question, then the question solving process is not consulted by not eliminating the first non-transparent cover layer; if the user chooses to refer directly to the problem solving process, the problem solving process can be referred to by eliminating the first non-transparent masking layer.
In this embodiment, a photographing and problem-searching method is provided, in which a focusing mode and a dynamic photographing mode of a photographing device are selected to be started according to an inclination angle of a photographing interface of the photographing device relative to a subject, and an image with the maximum definition in the dynamic photographing mode is screened to obtain the clearest image, so that a problem that a user shakes during photographing and problem searching to cause that the photographed image is not clear is avoided, and efficiency and accuracy of photographing and problem searching are improved. Meanwhile, after the problem solving process and the answer are received, a transparent covering layer can be arranged to cover the problem solving process and the answer, so that the problem shooting and searching process is not only used for searching the answer, but also whether the problem solving process and/or the answer is displayed or not can be selected according to the requirements of a user, and the practicability of the problem shooting and searching is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example two
Fig. 4 is a schematic structural diagram of a topic searching device according to a second embodiment of the present invention, and for convenience of description, only the relevant parts to the embodiment of the present invention are shown.
As shown in the figure: a subject searching device 4 may include a shooting device 40 (not shown in the figure), and the subject searching device 4 may be a software unit, a hardware unit or a combination of software and hardware unit built in the shooting device 40 or a mobile terminal, or may be integrated into the shooting device 4 or the mobile terminal as a separate pendant. The question searching device 4 further comprises:
an angle obtaining module 41, configured to obtain an inclination angle of a shooting interface of the shooting device with respect to a subject;
the judging module 42 is configured to focus the object to be photographed when the tilt angle is smaller than a threshold, and start dynamic shooting after the object to be photographed is successfully focused;
in the foregoing determining module 42, the focusing on the object, after the focusing is successful, the method further includes: and reminding the user of successful focusing in a mode of flickering the light projection point.
An image obtaining module 43, configured to stop the dynamic shooting after receiving a predetermined instruction, and obtain an image with a preset frame number in the dynamic shooting;
in the image obtaining module 43, the calculating the sharpness of the image with the interval of the preset number of frames includes: taking the images with the preset frame number in the dynamic shooting as sample images; calculating the sharpness of the sample image by a gradient function.
A calculating module 44, configured to calculate the sharpness of the images with the preset frame number at intervals, compare the sharpness, and select an image with the highest sharpness;
the identification module 45 is configured to identify the content in the image with the maximum definition, and upload the identified content to a server for question matching;
in the above identifying module 45, the identifying the inner frame in the image with the maximum definition includes: the content of the image with the maximum sharpness is identified by OCROCR (Optical Character Recognition).
And the receiving module 46 is configured to receive and display a problem solving result corresponding to the currently matched test question and fed back by the server.
In the receiving module 46, the problem solving result received by the receiving module includes:
solving the problem process and the answer;
the displaying of the problem solving result by the receiving module 46 specifically includes:
the first display unit 461 is used for displaying the problem solving process corresponding to the matched test question fed back by the server and shielding the problem solving process by using a preset first non-transparent covering layer;
a second display unit 462, configured to display an answer corresponding to the currently matched test question fed back by the server and shield the answer with a preset second non-transparent cover layer;
after the receiving module 46 displays the problem solving result, the method further includes:
a first elimination unit 463 configured to, when a first mask elimination instruction is received, eliminate the first non-transparent mask under an instruction of the first mask elimination instruction;
a second eliminating unit 464, configured to, when a second mask eliminating instruction is received, eliminate the second non-transparent mask under an instruction of the second mask eliminating instruction.
In the embodiment, the problem searching device comprises a shooting device, a focusing mode and a dynamic shooting mode of the shooting device are selected to be started according to the inclination angle of a shooting interface of the shooting device relative to a shot object, and the images with the maximum definition in the dynamic shooting mode are screened so as to obtain the clearest images, so that the problem that the shot images are not clear due to shooting shake in the process of shooting and searching the problems of a user is avoided, and the efficiency and the accuracy of shooting and searching the problems are improved. Meanwhile, after the problem solving process and the answers are received, a transparent covering layer can be arranged to shield the problem solving process and the answers, so that the problem searching device is not only used for searching the answers, but also can select whether to display the problem solving process and/or the answers according to the requirements of the user, and the practicability of the problem searching device is improved.
EXAMPLE III
Fig. 5 is a schematic diagram of a terminal device according to a third embodiment of the present invention. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and executable on said processor 50. The processor 50, when executing the computer program 52, implements the steps in the above-mentioned various embodiments of the title searching method, such as the steps S101 to S106 shown in fig. 1. Alternatively, the processor 50, when executing the computer program 52, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 41 to 46 shown in fig. 4.
Illustratively, the computer program 52 may be partitioned into one or more modules/units that are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the terminal device 5. For example, the computer program 52 may be segmented into an angle acquisition module 41, a determination module 42, an image acquisition module 43, a calculation module 44, and an identification module 45.
The terminal device 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 5 and does not constitute a limitation of terminal device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 51 is used for storing the computer program and other programs and data required by the apparatus/terminal device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
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 modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (7)

1. A method for searching questions by photographing is characterized by comprising the following steps:
acquiring an inclination angle of a shooting interface of a shooting device relative to a shot object; the inclination angle is obtained through a gravity sensor;
when the inclination angle is smaller than a threshold value, focusing the shot object, and after the focusing is successful, reminding a user of successful focusing in a mode of flickering a light projection point to start dynamic shooting;
stopping the dynamic shooting after receiving a preset instruction, and acquiring images with preset frame numbers at intervals in the dynamic shooting; the dynamic shooting refers to shooting continuous dynamic images; the preset instruction is a shutter instruction issued by a user or a question shooting instruction in question searching application; if the preset instruction is not received, continuously acquiring the inclination angle of the shooting interface of the shooting device relative to the shot object, focusing the shot object when the inclination angle is smaller than a threshold value, and continuously starting dynamic shooting after the focusing is successful;
calculating the definition of the image with the interval preset frame number, comprising: taking the images with preset frame number intervals in the dynamic shooting as sample images, and calculating the definition of the sample images through a gradient function; comparing the definition, and selecting the image with the maximum definition;
identifying the content in the image with the maximum definition, and uploading the identified content to a server for test question matching;
and receiving and displaying the problem solving result which is fed back by the server and corresponds to the matched test problem.
2. The photo-taking problem searching method according to claim 1, wherein the recognizing an inner frame in the image with the maximum definition comprises:
and recognizing the content of the image with the maximum definition through Optical Character Recognition (OCR).
3. The method of claim 1 or 2, wherein the problem solving result comprises:
solving the problem process and the answer;
the step of displaying the problem solving result fed back by the server and corresponding to the matched test question comprises the following steps:
displaying a problem solving process which is fed back by the server and corresponds to the matched test problem, and shielding the problem solving process by using a preset first non-transparent covering layer;
displaying answers fed back by the server and corresponding to the matched test questions, and shielding the answers by using a preset second non-transparent covering layer;
after displaying the question solving result corresponding to the matched test question fed back by the server, the method further comprises the following steps:
when a first masking layer elimination instruction is received, eliminating the first non-transparent masking layer under the instruction of the first masking layer elimination instruction;
when a second overlay cancellation instruction is received, canceling the second non-transparent overlay under the instruction of the second overlay cancellation instruction.
4. The utility model provides a search for topic device, includes the shooting device, its characterized in that still includes:
the angle acquisition module is used for acquiring the inclination angle of a shooting interface of the shooting device relative to a shot object; the inclination angle is obtained through a gravity sensor;
the judging module is used for focusing the shot object when the inclination angle is smaller than a threshold value, and reminding a user of successful focusing in a light projection point flickering mode after successful focusing so as to start dynamic shooting;
the image acquisition module is used for stopping the dynamic shooting after receiving a preset instruction and acquiring images with preset frame numbers in the dynamic shooting; the dynamic shooting refers to shooting continuous dynamic images; the preset instruction is a shutter instruction issued by a user or a question shooting instruction in question searching application; if the preset instruction is not received, continuously acquiring the inclination angle of the shooting interface of the shooting device relative to the shot object, focusing the shot object when the inclination angle is smaller than a threshold value, and continuously starting dynamic shooting after the focusing is successful;
the calculation module is used for calculating the definition of the images with the interval preset frame number, comparing the definition and selecting the image with the maximum definition; the calculating the definition of the image with the interval preset frame number comprises the following steps: taking the images with the preset frame number in the dynamic shooting as sample images; calculating the definition of the sample image through a gradient function;
the identification module is used for identifying the content in the image with the maximum definition and uploading the identified content to a server for test question matching;
and the receiving module is used for receiving and displaying the problem solving result which is fed back by the server and corresponds to the matched test question.
5. The apparatus for searching for problems according to claim 4, wherein said problem solving result comprises:
solving the problem process and the answer;
the receiving module specifically comprises:
the first display unit is used for displaying the problem solving process which is fed back by the server and corresponds to the matched test problem and shielding the problem solving process by using a preset first non-transparent covering layer;
the second display unit is used for displaying the answer which is fed back by the server and corresponds to the matched test question and shielding the answer by using a preset second non-transparent covering layer;
after the receiving module displays the problem solving result, the method further comprises the following steps:
a first elimination unit, configured to, when a first mask elimination instruction is received, eliminate the first non-transparent mask under an instruction of the first mask elimination instruction;
and the second elimination unit is used for eliminating the second non-transparent mask layer under the instruction of the second mask layer elimination instruction when the second mask layer elimination instruction is received.
6. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 3 when executing the computer program.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN201810142896.5A 2018-02-11 2018-02-11 Photographing question searching method, question searching device and terminal equipment Active CN108289176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810142896.5A CN108289176B (en) 2018-02-11 2018-02-11 Photographing question searching method, question searching device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810142896.5A CN108289176B (en) 2018-02-11 2018-02-11 Photographing question searching method, question searching device and terminal equipment

Publications (2)

Publication Number Publication Date
CN108289176A CN108289176A (en) 2018-07-17
CN108289176B true CN108289176B (en) 2020-05-15

Family

ID=62832964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810142896.5A Active CN108289176B (en) 2018-02-11 2018-02-11 Photographing question searching method, question searching device and terminal equipment

Country Status (1)

Country Link
CN (1) CN108289176B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111435420A (en) * 2019-01-10 2020-07-21 青岛海尔多媒体有限公司 Method and device for correcting exercise questions in television terminal and computer storage medium
CN110059686B (en) * 2019-04-26 2023-08-22 腾讯科技(深圳)有限公司 Character recognition method, device, equipment and readable storage medium
CN112989113B (en) * 2021-04-21 2021-08-31 北京金和网络股份有限公司 Picture screening method, device and equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561211A (en) * 2013-10-25 2014-02-05 广东欧珀移动通信有限公司 Shooting angle reminding method and system for shooting terminal
CN103969922A (en) * 2014-01-24 2014-08-06 日东电子科技(深圳)有限公司 Camera oblique capturing method and oblique capturing camera
CN105208278A (en) * 2015-09-28 2015-12-30 广东欧珀移动通信有限公司 Shooting method and terminal
CN105791660A (en) * 2014-12-22 2016-07-20 中兴通讯股份有限公司 Method and device for correcting photographing inclination of photographed object and mobile terminal
CN105975560A (en) * 2016-04-29 2016-09-28 广东小天才科技有限公司 Question searching method and question searching apparatus for intelligent device
CN106303234A (en) * 2016-08-11 2017-01-04 广东小天才科技有限公司 Take pictures processing method and processing device
CN106354777A (en) * 2016-08-22 2017-01-25 广东小天才科技有限公司 Question searching method and device applied to electronic terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561211A (en) * 2013-10-25 2014-02-05 广东欧珀移动通信有限公司 Shooting angle reminding method and system for shooting terminal
CN103969922A (en) * 2014-01-24 2014-08-06 日东电子科技(深圳)有限公司 Camera oblique capturing method and oblique capturing camera
CN105791660A (en) * 2014-12-22 2016-07-20 中兴通讯股份有限公司 Method and device for correcting photographing inclination of photographed object and mobile terminal
CN105208278A (en) * 2015-09-28 2015-12-30 广东欧珀移动通信有限公司 Shooting method and terminal
CN105975560A (en) * 2016-04-29 2016-09-28 广东小天才科技有限公司 Question searching method and question searching apparatus for intelligent device
CN106303234A (en) * 2016-08-11 2017-01-04 广东小天才科技有限公司 Take pictures processing method and processing device
CN106354777A (en) * 2016-08-22 2017-01-25 广东小天才科技有限公司 Question searching method and device applied to electronic terminal

Also Published As

Publication number Publication date
CN108289176A (en) 2018-07-17

Similar Documents

Publication Publication Date Title
US20200160040A1 (en) Three-dimensional living-body face detection method, face authentication recognition method, and apparatuses
US9838616B2 (en) Image processing method and electronic apparatus
CN109086734B (en) Method and device for positioning pupil image in human eye image
CN110335216B (en) Image processing method, image processing apparatus, terminal device, and readable storage medium
CN108337505B (en) Information acquisition method and device
CN108289176B (en) Photographing question searching method, question searching device and terminal equipment
EP3798975A1 (en) Method and apparatus for detecting subject, electronic device, and computer readable storage medium
JP2010045613A (en) Image identifying method and imaging device
US20190294863A9 (en) Method and apparatus for face classification
US20230056564A1 (en) Image authenticity detection method and apparatus
CN111126098B (en) Certificate image acquisition method, device, equipment and storage medium
CN111163265A (en) Image processing method, image processing device, mobile terminal and computer storage medium
CN107172354A (en) Method for processing video frequency, device, electronic equipment and storage medium
CN108776800B (en) Image processing method, mobile terminal and computer readable storage medium
CN111064893A (en) Code scanning and photographing compatible method and electronic terminal
CN111027450A (en) Bank card information identification method and device, computer equipment and storage medium
CN111325698A (en) Image processing method, device and system and electronic equipment
CN113379713B (en) Certificate image detection method and device
US8218823B2 (en) Determining main objects using range information
CN113158773B (en) Training method and training device for living body detection model
CN108805838B (en) Image processing method, mobile terminal and computer readable storage medium
CN114007013A (en) Fuzzy region determination and anti-shake performance detection method and system, and anti-shake performance detection equipment
CN108540719A (en) Shoot method, apparatus, computer equipment and the storage medium of photo
CN110717452B (en) Image recognition method, device, terminal and computer readable storage medium
CN108769521B (en) Photographing method, mobile terminal and computer readable storage medium

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