CN106844474B - Method and device for searching questions by photographing - Google Patents

Method and device for searching questions by photographing Download PDF

Info

Publication number
CN106844474B
CN106844474B CN201611205693.3A CN201611205693A CN106844474B CN 106844474 B CN106844474 B CN 106844474B CN 201611205693 A CN201611205693 A CN 201611205693A CN 106844474 B CN106844474 B CN 106844474B
Authority
CN
China
Prior art keywords
learning
terminal
starting
search application
photographing
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
CN201611205693.3A
Other languages
Chinese (zh)
Other versions
CN106844474A (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 CN201611205693.3A priority Critical patent/CN106844474B/en
Publication of CN106844474A publication Critical patent/CN106844474A/en
Application granted granted Critical
Publication of CN106844474B publication Critical patent/CN106844474B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9032Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition

Abstract

The invention is suitable for the technical field of electronic terminals, and provides a photographing search method and a photographing search device, wherein the photographing search method comprises the following steps: collecting learning parameters about a user, wherein the learning parameters comprise a learning time period and a learning place; establishing a starting condition of the photographing search application according to the learning parameters; and in a standby state of the terminal, when the starting condition is detected to be met, starting the photographing search application. In the invention, the starting condition of the photographing search application is established based on the learning parameters of the user, and the photographing search application can be automatically started from a standby state in the system when the starting condition is met, so that the operation efficiency of the photographing search application is greatly improved.

Description

Method and device for searching questions by photographing
Technical Field
The invention belongs to the technical field of electronic terminals, and particularly relates to a method and a device for photographing and searching questions.
Background
At present, many electronic education products on the market have the functions of photographing and searching questions, a user photographs questions on a paper surface through a camera of a control terminal, after the terminal photographs and displays the photographed pictures, the user intercepts the questions needing answer searching in the pictures through a selection frame displayed in a control terminal interface, and therefore the terminal analyzes the question contents through an image area intercepted in the selection frame and uploads the question contents, and the functions of photographing and searching the questions are completed.
However, in the prior art, activating the photo-taking and search question application from the standby state and finally acquiring the search result needs to go through the following steps: pressing a power-on key, unlocking by sliding a screen, selecting a photographing question searching application, starting the application, starting a camera, focusing photographing, intercepting search contents, confirming a user, uploading, identifying, matching and feeding back, the whole process is complex, and the operation efficiency is low.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for photo search to solve the problem of low operation efficiency of the existing photo search application.
In a first aspect, a method for photo search is provided, including:
collecting learning parameters about a user, wherein the learning parameters comprise a learning time period and a learning place;
establishing a starting condition of the photographing search application according to the learning parameters;
and in a standby state of the terminal, when the starting condition is detected to be met, starting the photographing search application.
Optionally, in the standby state of the terminal, when it is detected that the start condition is satisfied, starting the photo search application includes:
and in the standby state of the terminal, when the starting condition is detected to be met, if the terminal is detected not to be in a static state, starting the photographing search application.
Optionally, in the standby state of the terminal, the starting the photo search application when it is detected that the starting condition is satisfied includes:
and in a standby state of the terminal, when the starting condition is detected to be met, if the terminal camera is detected to have an obstacle beyond a preset distance, starting the photographing search application.
Optionally, the preset distance includes:
a minimum imaging distance of the camera.
Optionally, the method further comprises:
and if the terminal camera is detected to have the obstacle within the preset distance, restoring the standby state of the terminal.
In a second aspect, an apparatus for photo search is provided, including:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring learning parameters related to a user, and the learning parameters comprise a learning time period and a learning place;
the creating unit is used for creating starting conditions of the photographing search application according to the learning parameters;
and the starting unit is used for starting the photographing search application when detecting that the starting condition is met in the standby state of the terminal.
Optionally, the starting unit includes:
and in the standby state of the terminal, when the starting condition is detected to be met, if the terminal is detected not to be in a static state, starting the photographing search application.
Optionally, the starting unit includes:
and in a standby state of the terminal, when the starting condition is detected to be met, if the terminal camera is detected to have an obstacle beyond a preset distance, starting the photographing search application.
Optionally, the preset distance includes:
a minimum imaging distance of the camera.
Optionally, the apparatus further comprises:
and the standby unit is used for recovering the standby state of the terminal if the terminal camera is detected to have the obstacle within the preset distance.
In the embodiment of the invention, the starting condition of the photo search application is established based on the learning parameters of the user, and the photo search application can be automatically started from a standby state in the system when the starting condition is met, so that the operation efficiency of the photo search application is greatly 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 flowchart of an implementation of a method for photo search according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific implementation of the photo search method S103 according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a detailed implementation of the photo search method S103 according to another embodiment of the present invention;
FIG. 4 is a flowchart of an implementation of a method for photo search according to another embodiment of the present invention;
fig. 5 is a block diagram of a photographing search apparatus according to an 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.
In the embodiment of the invention, learning parameters related to a user are collected, wherein the learning parameters comprise a learning time period and a learning place; establishing a starting condition of the photographing search application according to the learning parameters; and in a standby state of the terminal, when the starting condition is detected to be met, starting the photographing search application.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 shows an implementation flow of the photo search method provided in the embodiment of the present invention, which is detailed as follows:
in S101, learning parameters about a user are collected, the learning parameters including a learning period and a learning place.
In the embodiment of the present invention, the learning parameters of the user are collected first, and the user may be enabled to input the daily learning time and the learning location, for example, the learning time may be 8 am to 12 am, 2 pm to 5 pm, 7 pm to 9 pm, 8 am to 12 am, and the like for monday to friday, and the learning location corresponding to each time period may be input, for example, the learning location of monday to friday is a school, and the school location of weekend is a home or an extraterrestrial guidance class, so as to complete the collection of the learning parameters of the user.
In S102, a start condition of the photographing search application is created according to the learning parameter.
By integrating the learning parameters input by the user, the time period with the maximum probability that the user is in the learning state and the corresponding learning place can be determined through data analysis, so that the time period and the corresponding learning place can be used as the starting conditions of the photographing search application.
In S103, in the terminal standby state, when it is detected that the start condition is satisfied, the photo search application is started.
After the starting condition of the photo search application is created, in a standby state of the terminal, when it is detected that the starting condition is satisfied, that is, when the terminal is determined to be located at a place corresponding to a time period by base station positioning or GPS positioning within the time period in which the probability that the user is in the learning state is analyzed and determined before is the maximum, it is considered that the user needs to use the photo search function at this time, and then the photo search application is started.
Further, as shown in fig. 2, on the basis of the corresponding embodiment of fig. 1, S103 may be implemented by the following steps:
and S104, in the standby state of the terminal, when the starting condition is detected to be met, if the terminal is detected not to be in the static state, starting the shooting search application.
If the starting condition is met, the user is generally considered to be in a learning state, the terminal is in a static state under the normal condition of the learning state, and at the moment, if the terminal is detected not to be in the static state, the user is likely to need to start the shooting search function, so that the shooting search application is automatically started from the standby state and is used by the user.
Further, as shown in fig. 3, on the basis of the corresponding embodiment of fig. 1, S103 may also be implemented by the following steps:
and S105, in a standby state of the terminal, when the starting condition is detected to be met, if the fact that the terminal camera has an obstacle beyond a preset distance is detected, starting the photographing search application.
Under the condition that the starting condition is met, the user is generally considered to be in a learning state, under the normal condition of the learning state, the terminal is placed on a certain placing surface, the camera is in a downward state, at the moment, if the fact that the terminal camera has an obstacle beyond a preset distance is detected, for example, the obstacle is detected beyond 1cm of the camera, the fact that the user needs to start the photographing search function is considered to be very likely, and therefore the photographing search application is automatically started from the standby state and is used by the user. In this embodiment, detecting whether the terminal camera has an obstacle beyond the preset distance may be implemented by installing an infrared emitting device or an ultrasonic emitting device around the camera.
On the basis of the embodiment shown in fig. 1, further, the preset distance may be a minimum imaging distance of the camera, that is, if a distance between the camera and the object is less than the minimum imaging distance, the object cannot be clearly imaged in the camera, and the minimum imaging distance is related to an imaging parameter of the camera.
As an embodiment of the present invention, on the basis of the corresponding embodiment in fig. 3, as shown in fig. 4, the method further includes:
and S106, if the fact that the obstacle exists in the preset distance of the terminal camera is detected, the standby state of the terminal is recovered.
After the photographing search application is started, if the fact that the obstacle exists in the preset distance of the terminal camera is detected, it is indicated that the automatic starting of the photographing search application is possibly caused by misoperation of a user, therefore, even if the photographing search application is started, the operation intention of the user still needs to be judged, if the fact that the obstacle exists in the preset distance of the terminal camera is detected, the user can be considered that the photographing search requirement does not exist at the moment, and then the standby state of the terminal is recovered.
In addition, in the embodiment of the present invention, it may also be determined whether the terminal is stationary within a preset time (for example, 10s) after the photo search application is started, and if so, the user also considers that there is no photo search requirement, and then the standby state of the terminal is recovered.
In the embodiment of the invention, the starting condition of the photo search application is established based on the learning parameters of the user, and the photo search application can be automatically started from a standby state in the system when the starting condition is met, so that the operation efficiency of the photo search application is greatly 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.
Corresponding to the method of photo search described in the above embodiment, fig. 5 shows a block diagram of a photo search apparatus provided in the embodiment of the present invention, where the photo search apparatus may be a software unit, a hardware unit or a combination of software and hardware unit that is built in a terminal device or an application system of the terminal device. For convenience of explanation, only the portions related to the present embodiment are shown.
Referring to fig. 5, the apparatus includes:
an acquisition unit 51 that acquires learning parameters about a user, the learning parameters including a learning time period and a learning place;
a creating unit 52 that creates a starting condition of the photographing search application according to the learning parameter;
the starting unit 53 starts the photo search application when detecting that the starting condition is satisfied in the terminal standby state.
Optionally, the starting unit 53 includes:
and in the standby state of the terminal, when the starting condition is detected to be met, if the terminal is detected not to be in a static state, starting the photographing search application.
Optionally, the starting unit 53 includes:
and in a standby state of the terminal, when the starting condition is detected to be met, if the terminal camera is detected to have an obstacle beyond a preset distance, starting the photographing search application.
Optionally, the preset distance includes:
a minimum imaging distance of the camera.
Optionally, the apparatus further comprises:
and the standby unit is used for recovering the standby state of the terminal if the terminal camera is detected to have the obstacle within the preset distance.
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.
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 and method may be implemented in other ways. For example, the above-described system embodiments 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 may be 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 unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be implemented in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
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 (4)

1. A method of photo search, the method comprising:
the method comprises the following steps of collecting learning parameters related to a user, wherein the learning parameters comprise a learning time period and a learning place, and specifically comprise the following steps: acquiring daily learning time periods input by a user and learning places corresponding to each time period;
establishing a starting condition of the photographing search application according to the learning parameters; the starting conditions of the photographing search application comprise a time period with the maximum probability that the user is in a learning state and a corresponding learning place, which are determined through data analysis;
in a standby state of the terminal, when the starting condition is detected to be met, if an infrared transmitting device or an ultrasonic transmitting device arranged around the camera detects that an obstacle exists outside a preset distance of the terminal camera or if the terminal is detected not to be in a static state, starting a photographing search application;
and if the fact that the obstacle exists in the preset distance of the terminal camera is detected, the standby state of the terminal is recovered.
2. The method of claim 1, wherein the preset distance comprises:
a minimum imaging distance of the camera.
3. An apparatus for photo search, the apparatus comprising:
the system comprises an acquisition unit, a learning unit and a processing unit, wherein the acquisition unit is used for acquiring learning parameters related to a user, the learning parameters comprise a learning time period and a learning place, and specifically the acquisition unit comprises: acquiring daily learning time periods input by a user and learning places corresponding to each time period;
the creating unit is used for creating starting conditions of the photographing search application according to the learning parameters; the starting conditions of the photographing search application comprise a time period with the maximum probability that the user is in a learning state and a corresponding learning place, which are determined through data analysis;
the starting unit is used for starting the photographing search application when detecting that the starting condition is met in a standby state of the terminal and if an infrared transmitting device or an ultrasonic transmitting device arranged around the camera detects that an obstacle exists outside a preset distance of the terminal camera or if the terminal is not detected to be in a static state;
and the standby unit is used for recovering the standby state of the terminal if the terminal camera is detected to have the obstacle within the preset distance.
4. The apparatus of claim 3, wherein the preset distance comprises:
a minimum imaging distance of the camera.
CN201611205693.3A 2016-12-23 2016-12-23 Method and device for searching questions by photographing Active CN106844474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611205693.3A CN106844474B (en) 2016-12-23 2016-12-23 Method and device for searching questions by photographing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611205693.3A CN106844474B (en) 2016-12-23 2016-12-23 Method and device for searching questions by photographing

Publications (2)

Publication Number Publication Date
CN106844474A CN106844474A (en) 2017-06-13
CN106844474B true CN106844474B (en) 2020-11-03

Family

ID=59136481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611205693.3A Active CN106844474B (en) 2016-12-23 2016-12-23 Method and device for searching questions by photographing

Country Status (1)

Country Link
CN (1) CN106844474B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108021697B (en) * 2017-12-19 2020-11-06 广东小天才科技有限公司 Photographing and question searching method based on terminal equipment, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065182A (en) * 2010-12-28 2011-05-18 上海华勤通讯技术有限公司 Method for quickly starting mobile phone application
EP2497409A1 (en) * 2011-03-10 2012-09-12 Canon Kabushiki Kaisha Optical tomographic image photographing apparatus and control method therefor
CN105045610A (en) * 2015-06-24 2015-11-11 上海海漾软件技术有限公司 Method and apparatus for starting application of intelligent device
CN105975553A (en) * 2016-04-29 2016-09-28 广东小天才科技有限公司 Photographic search method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065182A (en) * 2010-12-28 2011-05-18 上海华勤通讯技术有限公司 Method for quickly starting mobile phone application
EP2497409A1 (en) * 2011-03-10 2012-09-12 Canon Kabushiki Kaisha Optical tomographic image photographing apparatus and control method therefor
CN105045610A (en) * 2015-06-24 2015-11-11 上海海漾软件技术有限公司 Method and apparatus for starting application of intelligent device
CN105975553A (en) * 2016-04-29 2016-09-28 广东小天才科技有限公司 Photographic search method and apparatus

Also Published As

Publication number Publication date
CN106844474A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
JP6887499B2 (en) Methods and devices for security question generation and identification
US10298537B2 (en) Apparatus for sharing image content based on matching
CN105574910A (en) Electronic Device and Method for Providing Filter in Electronic Device
TW201933288A (en) Attendance check method and apparatus, and attendance check device
US11775796B1 (en) System and method for generating digital content within an augmented reality environment
CN102779179A (en) Method and terminal for associating information
CN105975553B (en) Photographing search method and device
CN103279383A (en) Photographing method with two-dimensional bar code scanning function and photographing system with two-dimensional bar code scanning function
CN104166694A (en) Image classifying and storing method and electronic device
KR101534808B1 (en) Method and System for managing Electronic Album using the Facial Recognition
CN108897996A (en) Identification information correlating method and device, electronic equipment and storage medium
CN109413760B (en) Wireless connection method and device
US11595376B2 (en) Surveillance camera setting method, method of controlling an installation of a surveillance camera and surveillance camera system
CN107817987B (en) Hardware configuration method, system, terminal and server
CN102902943A (en) Two-dimension code scanning method, processing device and terminal
WO2014126735A1 (en) Real time object scanning using a mobile phone and cloud-based visual search engine
KR101744696B1 (en) Method, device, program and recording medium for filtering information
CN106844474B (en) Method and device for searching questions by photographing
CN105069718B (en) Self-service monitoring method and system for smart homeland real estate based on mobile Internet of things
EP3929804A1 (en) Method and device for identifying face, computer program, and computer-readable storage medium
CN105897570A (en) Pushing method and device
CN113568934A (en) Data query method and device, electronic equipment and storage medium
CN105893249A (en) Software testing method and device
CN106598468B (en) Starting method and device of photographing search application
US20170126951A1 (en) Updating an exposure table of an image sensor

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