CN107168536A - Test question searching method, test question searching device and electronic terminal - Google Patents
Test question searching method, test question searching device and electronic terminal Download PDFInfo
- Publication number
- CN107168536A CN107168536A CN201710358116.6A CN201710358116A CN107168536A CN 107168536 A CN107168536 A CN 107168536A CN 201710358116 A CN201710358116 A CN 201710358116A CN 107168536 A CN107168536 A CN 107168536A
- Authority
- CN
- China
- Prior art keywords
- examination question
- electric terminal
- mentioned
- eye motion
- search
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000009471 action Effects 0.000 claims abstract description 56
- 238000003860 storage Methods 0.000 claims abstract description 7
- 238000001514 detection method Methods 0.000 claims description 26
- 230000001960 triggered effect Effects 0.000 claims description 20
- 210000003128 head Anatomy 0.000 claims description 9
- 230000004399 eye closure Effects 0.000 claims description 6
- 210000000162 simple eye Anatomy 0.000 claims description 6
- 230000005611 electricity Effects 0.000 claims 1
- 230000032258 transport Effects 0.000 claims 1
- 230000004424 eye movement Effects 0.000 abstract 1
- 238000009432 framing Methods 0.000 abstract 1
- 238000004422 calculation algorithm Methods 0.000 description 13
- 238000004590 computer program Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 11
- 230000008569 process Effects 0.000 description 9
- 239000000284 extract Substances 0.000 description 8
- 238000000605 extraction Methods 0.000 description 4
- 238000012549 training Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/013—Eye tracking input arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a test question searching method, a test question searching device, an electronic terminal and a computer readable storage medium, wherein the test question searching method comprises the following steps: when a question searching trigger instruction is received, starting a rear camera of the electronic terminal under the instruction of the question searching trigger instruction; detecting eye movement of a current user of the electronic terminal; if a preset first eye action is detected in the framing mode of the rear camera, triggering the photographing action of the rear camera; and searching test questions based on the image obtained by the photographing action. The technical scheme provided by the invention can reduce the shooting jitter in the scene of test question searching.
Description
Technical field
The present invention relates to search topic technical field, and in particular to a kind of examination question searching method, examination question searcher and electronics are whole
End.
Background technology
Search topic class application program (i.e. searching class App, wherein, App for Application english abbreviation) be to refer to obtain
Take topic and searched for automatically from exam pool after solution approach and the answer of the topic, show solution approach and the answer of the topic
App。
The topic class App that searches of current main flow is image by shooting topic and image uploads onto the server, by server
Carry out examination question search based on the topic in image and return to search topic result.Carry out searching topic, therefore, image by being then based on image
Quality directly affects the accuracy rate for searching topic.
In the prior art, user needs the shoot button triggering for clicking on electric terminal to take pictures action to shoot the figure of topic
Picture, due to being very easy to cause the shake of electric terminal (particularly with the electric terminal that volume is larger) when clicking on shoot button,
And the shake of electric terminal can directly affect the quality of shooting, therefore, the existing shoot button by clicking on electric terminal is touched
The mode for sending out action of taking pictures is easily caused image blurring unclear, the accuracy rate of final influence examination question search for shooting and obtaining.
The content of the invention
The present invention provides a kind of examination question searching method, examination question searcher and electric terminal, for the field searched in examination question
The shake taken pictures is reduced under scape.
First aspect present invention provides a kind of examination question searching method, and applied to electric terminal, the examination question searching method includes:
When receive search topic triggering command when, it is described search topic triggering command instruction under start the electric terminal after
Put camera;
Detect the eye motion of the active user of the electric terminal;
If detecting default first eye motion under the viewfinder mode for putting camera in the rear, trigger described rearmounted
The action of taking pictures of camera;
The image obtained based on the action of taking pictures carries out examination question search.
It is described to detect working as the electric terminal in the first possible implementation based on first aspect present invention
The eye motion of preceding user, including:
Face datection is carried out by the front camera of the electric terminal;
If detecting face, the eye motion of the face is detected.
Based on the first possible implementation of first aspect present invention, or first aspect present invention, at second
In possible implementation, the action of taking pictures of the triggering rear camera includes afterwards:
Wait default duration;
Instruction is retaken if not received in the duration, the image obtained based on the action of taking pictures is performed and enters
The step of row examination question is searched for;
Instruction is retaken if being received in the duration, the rear camera is triggered and enters viewfinder mode, so as to weight
It is new to carry out image taking.
Second of possible implementation based on first aspect present invention, in the third possible implementation, institute
Stating examination question searching method also includes:
If detecting default second eye motion in the duration, it is determined that received in the duration described heavy
Clap instruction;
Wherein, second eye motion is different from first eye motion.
The third possible implementation based on first aspect present invention, in the 4th kind of possible implementation, institute
Stating the first eye motion is:The time of simple eye closure is not less than default very first time threshold value;Second eye motion is:It is double
The time of eye closure is not less than default second time threshold.
Second aspect of the present invention provides a kind of examination question searcher, and applied to electric terminal, the examination question searcher includes:
Start unit, for when receive search topic triggering command when, it is described search topic triggering command instruction under start institute
State the rear camera of electric terminal;
Detection unit, the eye motion of the active user for detecting the electric terminal;
Default is detected under trigger element, the viewfinder mode for putting camera in the rear when the detection unit
During one eye motion, the action of taking pictures of the rear camera is triggered;
Examination question search unit, the image for being obtained based on the action of taking pictures carries out examination question search.
Based on second aspect of the present invention, in the first possible implementation, the detection unit specifically for:Pass through
The front camera of the electric terminal carries out Face datection;If detecting face, the eye motion of the face is detected.
Based on the first possible implementation of second aspect of the present invention, or second aspect of the present invention, at second
In possible implementation, the examination question searcher also includes:
Timing unit, is waited for starting timing when the trigger element is triggered and entering;
The specific timing in the timing unit of the trigger element reaches default duration and not connect in the duration
Receive and triggered when retaking instruction;
The trigger element is additionally operable to:When received in the duration it is described retake instruction when, trigger described rearmounted take the photograph
As head enters viewfinder mode, to re-start image taking.
Third aspect present invention provides a kind of electric terminal, and the electric terminal includes memory, processor and is stored in
On the memory and the examination question search utility that can run on the processor, examination question described in the computing device searches for journey
The examination question searching method in any possible implementation such as first aspect present invention or first aspect present invention is realized during sequence.
Fourth aspect present invention provides a kind of computer-readable recording medium, and above computer readable storage medium storing program for executing is stored with
Examination question search utility, when above-mentioned examination question search utility is by least one computing device, realize such as first aspect present invention or
Examination question searching method in any possible implementation of first aspect present invention.
Therefore, in the present invention program when receive search topic triggering command when, start electric terminal rear camera,
And the eye motion of the active user of the electric terminal is detected, it is default when being detected under the viewfinder mode of the rear camera
During the first eye motion, the action of taking pictures of the rear camera is triggered, carrying out examination question with the image obtained based on action of taking pictures is searched
Rope.Based on this programme, user can trigger the rear camera of electric terminal under examination question search routine by eye motion
Action of taking pictures, because the shoot button that need not touch electric terminal is shot, therefore, it can examination question search for scene
It is lower to reduce the shake for acting and producing because clicking on the triggering of electric terminal shoot button to take pictures, so as to improve in examination question search routine
Shooting quality, and then improve examination question search accuracy rate.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Examination question searching method one embodiment schematic flow sheet that Fig. 1 provides for the present invention;
Examination question searching method another embodiment schematic flow sheet that Fig. 2 provides for the present invention;
Examination question searcher one embodiment structural representation that Fig. 3 provides for the present invention;
Electric terminal one embodiment structural representation that Fig. 4 provides for the present invention.
Embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described reality
It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, the common skill in this area
The every other embodiment that art personnel are obtained under the premise of creative work is not made, belongs to the model that the present invention is protected
Enclose.
Embodiment one
A kind of examination question searching method applied to electric terminal is described the embodiment of the present invention, referring to Fig. 1, above-mentioned
Examination question searching method includes:
Step 101, when receive search topic triggering command when, it is above-mentioned search topic triggering command instruction under start above-mentioned electronics
The rear camera of terminal;
It is the input interface of electric terminal configuration " searching topic triggering command ", so that user can lead in the embodiment of the present invention
Cross input interface input and above-mentioned search topic triggering command.Specifically, the input interface can show as a physical button, to lead to
Cross the physical button input it is above-mentioned search topic triggering command, realize a key to trigger shown in Fig. 1 and search topic flow.Or, the input connects
Mouth can also be other forms of expression, for example, the input interface can also show as the startup of application program (searching topic class App)
Interface, when user, which starts this, searches topic class App, that is, input is above-mentioned to search topic triggering command.It is not right in the embodiment of the present invention
The above-mentioned specific input mode for searching topic triggering command is defined.
In embodiments of the present invention, when receive it is above-mentioned search topic triggering command when, it is above-mentioned search topic triggering command instruction
The lower rear camera for starting above-mentioned electric terminal.Further, can also be after the startup of above-mentioned rear camera, in above-mentioned electronics
The preview interface of above-mentioned rear camera is loaded on the display screen of terminal, so as to user can be browsed to by the preview interface it is above-mentioned
Viewfinder range of the rear camera under viewfinder mode.
Step 102, the eye motion of the active user of the above-mentioned electric terminal of detection;
In the embodiment of the present invention, it can detect the active user's of above-mentioned electric terminal after the startup of above-mentioned rear camera
Eye motion.
Optionally, in a step 102, Face datection can be carried out by the front camera of the electric terminal, works as detection
During to face, the eye motion of the face is detected.Further, when can't detect face, it can be consistently detected for up to detect
Face is consistently detected for up to user and triggers the action of taking pictures of above-mentioned rear camera manually (such as user is above-mentioned by triggering
The mode of the shoot button of electric terminal triggers the action of taking pictures of above-mentioned rear camera), it is necessary to which explanation, the present invention is implemented
In example, under the viewfinder mode of above-mentioned rear camera, with the action of taking pictures of above-mentioned rear camera can be triggered manually per family.
Specifically, the eye motion of the active user of the above-mentioned electric terminal of above-mentioned detection includes:Pass through above-mentioned electric terminal
Front camera carry out Face datection, when the front camera of above-mentioned electric terminal detects face, the continuous acquisition people
The k of face images (k is the preset value more than 1);Respectively human eye area is extracted from above-mentioned k images;Based on default eye
Portion's detection algorithm is tested and analyzed to the human eye area of above-mentioned k images, with the eye for the active user for determining the electric terminal
Portion is acted.Specifically, it is above-mentioned extract human eye area from above-mentioned k images respectively the step of in, ASM (English can be used
Literary full name is:Activy Shape Model) algorithm extracts human eye area from above-mentioned k images respectively.Due to ASM algorithms
Need first to demarcate training set by the method manually demarcated, shape is obtained by training, then it is real by the matching of key point
The matching of existing certain objects.Therefore, can be beforehand through the method manually demarcated in multiple human eye samples in the embodiment of the present invention
A number of human eye contour feature point (can for example choose 21 human eye contour feature points) is selected to construct human eye in image
Region shape model, is that each human eye contour feature point builds part then according to the pixel around human eye contour feature point
Gray level model.For each image of above-mentioned k images, one first can be set up according to the human eye area shape built in advance
Individual human eye area initial estimation model, is that the human eye area initial estimation model is searched further according to the local gray level model built in advance
Rope best match, extracts human eye area from image.Further, can be with after the human eye area of each image is extracted
Human eye area to each image carries out edge contour extraction.The figure based on Canny operators can be used in the embodiment of the present invention
As contours extract algorithm carries out edge contour extraction to the human eye area in above-mentioned k images, to obtain the human eye of each image
Edge contour image, afterwards the human eye edge contour image of the images of the k based on acquisition tested and analyzed, to determine the electronics
The eye motion of the active user of terminal.Certainly, in a step 102, can not also by the front camera of the electric terminal,
And the eye motion of the active user of above-mentioned electric terminal is detected otherwise, for example, whole by being external in above-mentioned electronics
The external camera at end detects the eye motion of the active user of above-mentioned electric terminal, is not construed as limiting herein.
Optionally, above-mentioned eye detection algorithm can be blink detection algorithm, then step 102 can behave as:Detection is above-mentioned
The blink action of the active user of electric terminal.
If step 103, detecting default first eye motion under the viewfinder mode of above-mentioned rear camera, trigger
The action of taking pictures of above-mentioned rear camera;
In the embodiment of the present invention, on the basis of step 102, detected when under the viewfinder mode in above-mentioned rear camera
Default first eye motion, then trigger the action of taking pictures of above-mentioned rear camera.Wherein, above-mentioned viewfinder mode namely mould of taking pictures
Waiting process of taking pictures under formula, under the viewfinder mode, user can adjust angle, focal length, focusing area of shooting etc..
Optionally, above-mentioned first eye motion can be set to:The time of simple eye closure is not less than default very first time threshold value.
When detecting first eye motion under the viewfinder mode in above-mentioned rear camera, taking pictures for above-mentioned rear camera is triggered
Action.Wherein, above-mentioned very first time threshold value can also be set according to the actual requirements, certainly, above-mentioned first eye motion
Other actions can be set to, can for example be set to it is simple eye continuously blink n times (wherein, n may be greater than 1 preset value), herein not
It is construed as limiting.
Step 104, the image obtained based on above-mentioned action of taking pictures carry out examination question search;
Obtained image of being taken pictures in the embodiment of the present invention based on step 103 carries out examination question search.
Optionally, the image is reached into server, being based on the image by information desk carries out examination question search.It is of course also possible to
Required database is built local (i.e. above-mentioned electric terminal is local) in advance, then at step 104, without being networked with server
Directly examination question search can be carried out in the locally image based on acquisition.
It should be noted that the examination question searching method in the embodiment of the present invention can be realized by examination question searcher, the examination
It can be independent equipment to inscribe searcher, and can also being integrated in electric terminal, (for example smart mobile phone, tablet personal computer, intelligence can
Wearable device, electronic learning machine etc.) in, it is not construed as limiting herein.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention constitutes any limit with its function and internal logic
It is fixed.
Therefore, in the embodiment of the present invention, when receive search topic triggering command when, start electric terminal rearmounted shooting
Head, and the eye motion of the active user of the electric terminal is detected, it is pre- when being detected under the viewfinder mode of the rear camera
If the first eye motion when, trigger the action of taking pictures of the rear camera, with based on take pictures action obtain image tried
Topic search.Based on this programme, user can be triggered the rearmounted of electric terminal by eye motion under examination question search routine and be taken the photograph
As the action of taking pictures of head, because the shoot button that need not touch electric terminal is shot, it therefore, it can what is searched in examination question
The shake for acting and producing because clicking on the triggering of electric terminal shoot button to take pictures is reduced under scene, so as to improve examination question search stream
Shooting quality in journey, and then improve the accuracy rate of examination question search.
Embodiment two
The difference of the embodiment of the present invention and embodiment one is that the embodiment of the present invention is after action triggers of taking pictures, not immediately
Examination question search is carried out, to provide the user the chance taken pictures again, is also avoided because being tried based on the unsatisfied image of user
Topic search and produce it is unnecessary when consume.Specifically, referring to Fig. 2, the examination question searching method in the embodiment of the present invention includes:
Step 201, when receive search topic triggering command when, it is above-mentioned search topic triggering command instruction under start above-mentioned electronics
The rear camera of terminal;
It is the input interface of electric terminal configuration " searching topic triggering command ", so that user can lead in the embodiment of the present invention
Cross input interface input and above-mentioned search topic triggering command.Specifically, the input interface can show as a physical button, to lead to
Cross the physical button input it is above-mentioned search topic triggering command, realize a key to trigger shown in Fig. 1 and search topic flow.Or, the input connects
Mouth can also be other forms of expression, for example, the input interface can also show as the startup of application program (searching topic class App)
Interface, when user, which starts this, searches topic class App, that is, input is above-mentioned to search topic triggering command.It is not right in the embodiment of the present invention
The above-mentioned specific input mode for searching topic triggering command is defined.
In embodiments of the present invention, when receive it is above-mentioned search topic triggering command when, it is above-mentioned search topic triggering command instruction
The lower rear camera for starting above-mentioned electric terminal.Further, can also be after the startup of above-mentioned rear camera, in above-mentioned electronics
The preview interface of above-mentioned rear camera is loaded on the display screen of terminal, so as to user can be browsed to by the preview interface it is above-mentioned
Viewfinder range of the rear camera under viewfinder mode.
Step 202, the eye motion of the active user of the above-mentioned electric terminal of detection;
In the embodiment of the present invention, it can detect the active user's of above-mentioned electric terminal after the startup of above-mentioned rear camera
Eye motion.
Optionally, in step 202., Face datection can be carried out by the front camera of the electric terminal, works as detection
During to face, the eye motion of the face is detected.Further, when can't detect face, it can be consistently detected for up to detect
Face is consistently detected for up to user and triggers the action of taking pictures of above-mentioned rear camera manually (such as user is above-mentioned by triggering
The mode of the shoot button of electric terminal triggers the action of taking pictures of above-mentioned rear camera), it is necessary to which explanation, the present invention is implemented
In example, under the viewfinder mode of above-mentioned rear camera, with the action of taking pictures of above-mentioned rear camera can be triggered manually per family.
Specifically, the eye motion of the active user of the above-mentioned electric terminal of above-mentioned detection includes:Pass through above-mentioned electric terminal
Front camera carry out Face datection, when the front camera of above-mentioned electric terminal detects face, the continuous acquisition people
The k of face images (k is the preset value more than 1);Respectively human eye area is extracted from above-mentioned k images;Based on default eye
Portion's detection algorithm is tested and analyzed to the human eye area of above-mentioned k images, with the eye for the active user for determining the electric terminal
Portion is acted.Specifically, it is above-mentioned extract human eye area from above-mentioned k images respectively the step of in, ASM (English can be used
Literary full name is:Activy Shape Model) algorithm extracts human eye area from above-mentioned k images respectively.Due to ASM algorithms
Need first to demarcate training set by the method manually demarcated, shape is obtained by training, then it is real by the matching of key point
The matching of existing certain objects.Therefore, can be beforehand through the method manually demarcated in multiple human eye samples in the embodiment of the present invention
A number of human eye contour feature point (can for example choose 21 human eye contour feature points) is selected to construct human eye in image
Region shape model, is that each human eye contour feature point builds part then according to the pixel around human eye contour feature point
Gray level model.For each image of above-mentioned k images, one first can be set up according to the human eye area shape built in advance
Individual human eye area initial estimation model, is that the human eye area initial estimation model is searched further according to the local gray level model built in advance
Rope best match, extracts human eye area from image.Further, can be with after the human eye area of each image is extracted
Human eye area to each image carries out edge contour extraction.The figure based on Canny operators can be used in the embodiment of the present invention
As contours extract algorithm carries out edge contour extraction to the human eye area in above-mentioned k images, to obtain the human eye of each image
Edge contour image, afterwards the human eye edge contour image of the images of the k based on acquisition tested and analyzed, to determine the electronics
The eye motion of the active user of terminal.Certainly, in step 202., can not also by the front camera of the electric terminal,
And the eye motion of the active user of above-mentioned electric terminal is detected otherwise, for example, whole by being external in above-mentioned electronics
The external camera at end detects the eye motion of the active user of above-mentioned electric terminal, is not construed as limiting herein.
Optionally, above-mentioned eye detection algorithm can be blink detection algorithm, then step 202 can behave as:Detection is above-mentioned
The blink action of the active user of electric terminal.
If step 203, detecting default first eye motion under the viewfinder mode of above-mentioned rear camera, trigger
The action of taking pictures of above-mentioned rear camera;
In the embodiment of the present invention, on the basis of step 202, detected when under the viewfinder mode in above-mentioned rear camera
Default first eye motion, then trigger the action of taking pictures of above-mentioned rear camera.Wherein, above-mentioned viewfinder mode namely mould of taking pictures
Waiting process of taking pictures under formula, under the viewfinder mode, user can adjust angle, focal length, focusing area of shooting etc..
Optionally, above-mentioned first eye motion is to be set to:The time of simple eye closure is not less than default very first time threshold value.
Then when detecting first eye motion under the viewfinder mode in above-mentioned rear camera, then above-mentioned rear camera is triggered
Take pictures action.Wherein, above-mentioned very first time threshold value can also be set according to the actual requirements, certainly, and above-mentioned first eye is moved
Work can also be set to other actions, can for example be set to continuous blink n times (wherein, n may be greater than 1 preset value), herein not
It is construed as limiting.
Step 204, the default duration of wait;
In the embodiment of the present invention, default duration is waited after the action of taking pictures of above-mentioned rear camera is triggered, it is contemplated that
Delay can not be long and be also required to give user certain reflecting time, therefore can be set when this length of 2 seconds.Certainly, this when
Length can also be set with specific reference to actual demand, be not construed as limiting herein.
If step 205, not received in above-mentioned duration and retaking instruction, the image obtained based on this action of taking pictures is entered
Row examination question is searched for;
Instruction is retaken when not received in above-mentioned duration in the embodiment of the present invention, then is automatically based upon this action of taking pictures and obtains
The image obtained carries out examination question search.
Optionally, the image is reached into server, being based on the image by information desk carries out examination question search.It is of course also possible to
Required database is built local (i.e. above-mentioned electric terminal is local) in advance, then in step 205, without being networked with server
Directly examination question search can be carried out in the locally image based on acquisition.
If step 206, being received in above-mentioned duration and retaking instruction, trigger above-mentioned rear camera and enter mould of finding a view
Formula, to re-start image taking;
Optionally, the eye motion of the active user of above-mentioned electric terminal is detected in above-mentioned duration, was specifically detected
Journey is referred to the description in step 202, and here is omitted.If detecting default second eye in above-mentioned duration to move
Make, it is determined that received in above-mentioned duration and above-mentioned retake instruction.Specifically, above-mentioned second eye motion can be set to:Eyes are closed
The time of conjunction is not less than default second time threshold.When detecting this second under the viewfinder mode in above-mentioned rear camera
When portion is acted, it is determined that received in above-mentioned duration it is above-mentioned retake instruction, now trigger the entrance of above-mentioned rear camera and find a view mould
Formula, to re-start image taking.Wherein, above-mentioned second time threshold can also be set according to the actual requirements, certainly,
Above-mentioned second eye motion can also be set to other actions, for example, can be set to eyes and continuously blink m times (wherein, m may be greater than
1 preset value), it need to only cause above-mentioned second eye motion to be different from above-mentioned first eye motion, not limit herein.
Certainly, in above-mentioned duration, user can also be by way of triggering shoot button or other programmable buttons manually
Output is above-mentioned to retake instruction, is not construed as limiting herein.
It should be noted that the examination question searching method in the embodiment of the present invention can be realized by examination question searcher, the examination
It can be independent equipment to inscribe searcher, and can also being integrated in electric terminal, (for example smart mobile phone, tablet personal computer, intelligence can
Wearable device, electronic learning machine etc.) in, it is not construed as limiting herein.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention constitutes any limit with its function and internal logic
It is fixed.
Therefore, in the embodiment of the present invention, when receive search topic triggering command when, start electric terminal rearmounted shooting
Head, and the eye motion of the active user of the electric terminal is detected, it is pre- when being detected under the viewfinder mode of the rear camera
If the first eye motion when, trigger the action of taking pictures of the rear camera, with based on take pictures action obtain image tried
Topic search.Based on this programme, user can be triggered the rearmounted of electric terminal by eye motion under examination question search routine and be taken the photograph
As the action of taking pictures of head, because the shoot button that need not touch electric terminal is shot, it therefore, it can what is searched in examination question
The shake for acting and producing because clicking on the triggering of electric terminal shoot button to take pictures is reduced under scene, so as to improve examination question search stream
Shooting quality in journey, and then improve the accuracy rate of examination question search.In addition, after action triggers of taking pictures, examination question is not carried out immediately
Search, to provide the user the chance taken pictures again, can also be avoided because carrying out examination question search based on the unsatisfied image of user
And produce it is unnecessary when consume.
Embodiment three
The present invention provides a kind of examination question searcher, and the examination question searcher is applied to electric terminal.As shown in figure 3, on
Stating examination question searcher includes:
Start unit 301, for when receive search topic triggering command when, it is described search topic triggering command instruction under start
The rear camera of the electric terminal;
Detection unit 302, the eye motion of the active user for detecting the electric terminal;
Detected under trigger element 303, the viewfinder mode for putting camera in the rear when detection unit 302 default
During the first eye motion, the action of taking pictures of the rear camera is triggered;
Examination question search unit 304, the image for being obtained based on the action of taking pictures carries out examination question search.
Optionally, detection unit 303 specifically for:Face datection is carried out by the front camera of the electric terminal;
If detecting face, the eye motion of the face is detected.
Optionally, the examination question searcher in the embodiment of the present invention also includes:Timing unit, in trigger element 303
Start timing during triggering and enter and wait;The specific timing in the timing unit of trigger element 303 reach default duration and
Do not receive and triggered when retaking instruction in the duration;Trigger element 303 is additionally operable to:It is described when being received in the duration
When retaking instruction, trigger the rear camera and enter viewfinder mode, to re-start image taking.
Optionally, the examination question searcher in the embodiment of the present invention also includes:Determining unit, for when in above-mentioned duration
Detect default second eye motion, it is determined that received in above-mentioned duration and above-mentioned retake instruction;Wherein, above-mentioned second
Portion's action is different from above-mentioned first eye motion.
Optionally, first eye motion is:The time of simple eye closure is not less than default very first time threshold value;It is described
Second eye motion is:The time of eyes closure is not less than default second time threshold.
It should be noted that the examination question searcher in the embodiment of the present invention can be independent equipment, can also be integrated
In electric terminal (such as smart mobile phone, tablet personal computer, intelligent wearable device, electronic learning machine), it is not construed as limiting herein.
It should be understood that the examination question searcher in the embodiment of the present invention can be used for realizing the whole in above method embodiment
Technical scheme, the function of its each functional module can be implemented according to the method in above method embodiment, and it is specific real
Existing process can refer to the associated description in above-described embodiment, and here is omitted.
Therefore, in the embodiment of the present invention, when receive search topic triggering command when, start electric terminal rearmounted shooting
Head, and the eye motion of the active user of the electric terminal is detected, it is pre- when being detected under the viewfinder mode of the rear camera
If the first eye motion when, trigger the action of taking pictures of the rear camera, with based on take pictures action obtain image tried
Topic search.Based on this programme, user can be triggered the rearmounted of electric terminal by eye motion under examination question search routine and be taken the photograph
As the action of taking pictures of head, because the shoot button that need not touch electric terminal is shot, it therefore, it can what is searched in examination question
The shake for acting and producing because clicking on the triggering of electric terminal shoot button to take pictures is reduced under scene, so as to improve examination question search stream
Shooting quality in journey, and then improve the accuracy rate of examination question search.In addition, after action triggers of taking pictures, examination question is not carried out immediately
Search, to provide the user the chance taken pictures again, can also be avoided because carrying out examination question search based on the unsatisfied image of user
And produce it is unnecessary when consume.
Example IV
Fig. 4 is the schematic diagram for the intelligent terminal that one embodiment of the invention is provided.As shown in figure 4, the electronics of the embodiment is whole
End 4 includes:Processor 40, memory 41 and it is stored in the computer program that can be run in memory 41 and on processor 40
42, such as examination question search utility.Processor 40 realizes the examination question in each above-mentioned embodiment of the method when performing computer program 42
Searching method, such as step 201 shown in step 101 shown in Fig. 1~104, Fig. 2~206.Or, computer program 42 can
To be divided into one or more module/units, one or more of module/units are stored in memory 41, and
Performed by processor 40, to complete the present invention.One or more of module/units can complete the one of specific function
Family computer programmed instruction section, the instruction segment is used to describe implementation procedure of the computer program 42 in intelligent terminal 4.Example
Such as, computer program 42 can be divided into start unit 301 as shown in Figure 3, detection unit 302 and trigger element 303, open
The function of moving cell 301, detection unit 302 and trigger element 303 is referred to the description in embodiment illustrated in fig. 3, herein not
Repeat again.
Electric terminal 4 may include, but be not limited only to processor 40, memory 41.It will be understood by those skilled in the art that figure
4 be only the example of electric terminal 4, does not constitute the restriction to electric terminal 4, can be included than illustrating more or less portions
Part, either combines some parts or different parts, and such as electric terminal 4 can also include input-output equipment, network and connect
Enter equipment, bus etc..
Alleged processor 40 can be CPU (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 41 can be the internal storage unit of electric terminal 4, the hard disk or internal memory of such as electric terminal 4.
The memory 41 can also be the External memory equipment of electric terminal 4, such as the plug-in type hard disk being equipped with electric terminal 4,
Intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash
Card) etc..Further, the memory 41 can also both including electric terminal 4 internal storage unit or deposited including outside
Store up equipment.Memory 41 is used to store other programs and data needed for the computer program and electric terminal 4.Memory
41 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that, for convenience of description and succinctly, only with above-mentioned each work(
Energy unit, the division progress of module are for example, in practical application, as needed can distribute above-mentioned functions by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each function list
Member, the specific name of module are also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Said system
The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed description or note in some embodiment
The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
, can be with embodiment provided by the present invention, it should be understood that disclosed device/intelligent terminal and method
Realize by another way.For example, device described above/intelligent terminal embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function there can be other dividing mode, for example when actually realizing
Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately
A bit, shown or discussed coupling or direct-coupling or communication connection each other can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated module/unit realized using in the form of SFU software functional unit and as independent production marketing or
In use, can be stored in a computer read/write memory medium.Understood based on such, the present invention realizes above-mentioned implementation
All or part of flow in example method, can also instruct the hardware of correlation to complete, described meter by computer program
Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium
It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium is included can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should
Within protection scope of the present invention.
Claims (10)
1. a kind of examination question searching method, applied to electric terminal, it is characterised in that the examination question searching method includes:
When receive search topic triggering command when, start the rearmounted of the electric terminal under the instruction for searching topic triggering command and take the photograph
As head;
Detect the eye motion of the active user of the electric terminal;
If detecting default first eye motion under the viewfinder mode for putting camera in the rear, the rearmounted shooting is triggered
The action of taking pictures of head;
The image obtained based on the action of taking pictures carries out examination question search.
2. examination question searching method according to claim 1, it is characterised in that the current use of the detection electric terminal
The eye motion at family, including:
Face datection is carried out by the front camera of the electric terminal;
If detecting face, the eye motion of the face is detected.
3. examination question searching method according to claim 1 or 2, it is characterised in that the triggering rear camera
Take pictures action, include afterwards:
Wait default duration;
Instruction is retaken if not received in the duration, the image obtained based on the action of taking pictures is performed and is tried
The step of topic search;
Instruction is retaken if being received in the duration, the rear camera is triggered and enters viewfinder mode, to enter again
Row image taking.
4. examination question searching method according to claim 3, it is characterised in that the examination question searching method also includes:
If detecting default second eye motion in the duration, it is determined that retake finger described in being received in the duration
Order;
Wherein, second eye motion is different from first eye motion.
5. examination question searching method according to claim 4, it is characterised in that first eye motion is:Simple eye closure
Time be not less than default very first time threshold value;Second eye motion is:The time of eyes closure is not less than default
Second time threshold.
6. a kind of examination question searcher, applied to electric terminal, it is characterised in that the examination question searcher includes:
Start unit, for when receive search topic triggering command when, it is described search topic triggering command instruction under start the electricity
The rear camera of sub- terminal;
Detection unit, the eye motion of the active user for detecting the electric terminal;
Default First view is detected under trigger element, the viewfinder mode for putting camera in the rear when the detection unit
When portion is acted, the action of taking pictures of the rear camera is triggered;
Examination question search unit, the image for being obtained based on the action of taking pictures carries out examination question search.
7. examination question searcher according to claim 6, it is characterised in that the detection unit specifically for:By institute
The front camera for stating electric terminal carries out Face datection;If detecting face, the eye motion of the face is detected.
8. the examination question searcher according to claim 6 or 7, it is characterised in that the examination question searcher also includes:
Timing unit, is waited for starting timing when the trigger element is triggered and entering;
The specific timing in the timing unit of the trigger element reaches default duration and not received in the duration
Triggered when retaking instruction;
The trigger element is additionally operable to:When received in the duration it is described retake instruction when, trigger the rear camera
Into viewfinder mode, to re-start image taking.
9. a kind of electric terminal, including memory, processor and it is stored on the memory and can transports on the processor
Capable examination question search utility, it is characterised in that described in the computing device during examination question search utility realize as claim 1 to
Examination question searching method described in 5 any one.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has examination question search utility, its feature
It is, when the examination question search utility is by least one computing device, realizes the examination as any one of claim 1-5
Inscribe searching method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710358116.6A CN107168536A (en) | 2017-05-19 | 2017-05-19 | Test question searching method, test question searching device and electronic terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710358116.6A CN107168536A (en) | 2017-05-19 | 2017-05-19 | Test question searching method, test question searching device and electronic terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107168536A true CN107168536A (en) | 2017-09-15 |
Family
ID=59815665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710358116.6A Pending CN107168536A (en) | 2017-05-19 | 2017-05-19 | Test question searching method, test question searching device and electronic terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107168536A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107807772A (en) * | 2017-10-17 | 2018-03-16 | 广东欧珀移动通信有限公司 | Image processing method, device and mobile terminal |
CN107944400A (en) * | 2017-11-28 | 2018-04-20 | 广东小天才科技有限公司 | Photographing search method and device and intelligent terminal |
CN107992816A (en) * | 2017-11-28 | 2018-05-04 | 广东小天才科技有限公司 | Photographing search method and device and electronic equipment |
CN108153811A (en) * | 2017-11-24 | 2018-06-12 | 广东小天才科技有限公司 | Input method and device for search content, mobile terminal and storage medium |
CN111753168A (en) * | 2020-06-23 | 2020-10-09 | 广东小天才科技有限公司 | Method and device for searching questions, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241366A (en) * | 2008-03-07 | 2008-08-13 | 杭州普诺科技有限公司 | Front-end machine control system for universal monitoring system |
CN101241360A (en) * | 2008-02-27 | 2008-08-13 | 浙江工业大学 | Universal monitoring system collection end control system |
CN103530110A (en) * | 2013-07-29 | 2014-01-22 | 广东明创软件科技有限公司 | Timed reminding method using pictures as timed reminding content |
CN105072332A (en) * | 2015-07-20 | 2015-11-18 | 魅族科技(中国)有限公司 | Photographing method and terminal |
CN106101529A (en) * | 2016-06-07 | 2016-11-09 | 广东欧珀移动通信有限公司 | A kind of camera control method and mobile terminal |
CN106227331A (en) * | 2016-07-08 | 2016-12-14 | 广东小天才科技有限公司 | Test question searching method and device applied to electronic terminal |
CN106354777A (en) * | 2016-08-22 | 2017-01-25 | 广东小天才科技有限公司 | Question searching method and device applied to electronic terminal |
CN106572304A (en) * | 2016-11-02 | 2017-04-19 | 西安电子科技大学 | Blink detection-based smart handset photographing system and method |
-
2017
- 2017-05-19 CN CN201710358116.6A patent/CN107168536A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241360A (en) * | 2008-02-27 | 2008-08-13 | 浙江工业大学 | Universal monitoring system collection end control system |
CN101241366A (en) * | 2008-03-07 | 2008-08-13 | 杭州普诺科技有限公司 | Front-end machine control system for universal monitoring system |
CN103530110A (en) * | 2013-07-29 | 2014-01-22 | 广东明创软件科技有限公司 | Timed reminding method using pictures as timed reminding content |
CN105072332A (en) * | 2015-07-20 | 2015-11-18 | 魅族科技(中国)有限公司 | Photographing method and terminal |
CN106101529A (en) * | 2016-06-07 | 2016-11-09 | 广东欧珀移动通信有限公司 | A kind of camera control method and mobile terminal |
CN106227331A (en) * | 2016-07-08 | 2016-12-14 | 广东小天才科技有限公司 | Test question searching method and device applied to electronic terminal |
CN106354777A (en) * | 2016-08-22 | 2017-01-25 | 广东小天才科技有限公司 | Question searching method and device applied to electronic terminal |
CN106572304A (en) * | 2016-11-02 | 2017-04-19 | 西安电子科技大学 | Blink detection-based smart handset photographing system and method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107807772A (en) * | 2017-10-17 | 2018-03-16 | 广东欧珀移动通信有限公司 | Image processing method, device and mobile terminal |
CN108153811A (en) * | 2017-11-24 | 2018-06-12 | 广东小天才科技有限公司 | Input method and device for search content, mobile terminal and storage medium |
CN108153811B (en) * | 2017-11-24 | 2020-05-26 | 广东小天才科技有限公司 | Input method and device for search content, mobile terminal and storage medium |
CN107944400A (en) * | 2017-11-28 | 2018-04-20 | 广东小天才科技有限公司 | Photographing search method and device and intelligent terminal |
CN107992816A (en) * | 2017-11-28 | 2018-05-04 | 广东小天才科技有限公司 | Photographing search method and device and electronic equipment |
CN107944400B (en) * | 2017-11-28 | 2020-07-31 | 广东小天才科技有限公司 | Photographing search method and device, intelligent terminal and computer readable storage medium |
CN111753168A (en) * | 2020-06-23 | 2020-10-09 | 广东小天才科技有限公司 | Method and device for searching questions, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7181437B2 (en) | A technique for identifying skin tones in images under uncontrolled lighting conditions | |
CN107168536A (en) | Test question searching method, test question searching device and electronic terminal | |
WO2021227726A1 (en) | Methods and apparatuses for training face detection and image detection neural networks, and device | |
WO2018177379A1 (en) | Gesture recognition, gesture control and neural network training methods and apparatuses, and electronic device | |
WO2019128508A1 (en) | Method and apparatus for processing image, storage medium, and electronic device | |
WO2020140723A1 (en) | Method, apparatus and device for detecting dynamic facial expression, and storage medium | |
CN108229369A (en) | Image capturing method, device, storage medium and electronic equipment | |
CN112733802B (en) | Image occlusion detection method and device, electronic equipment and storage medium | |
CN110503076B (en) | Video classification method, device, equipment and medium based on artificial intelligence | |
WO2021175071A1 (en) | Image processing method and apparatus, storage medium, and electronic device | |
TWI781554B (en) | Method of determining item name of object, device, computer equipment and storage medium | |
CN106354777B (en) | Question searching method and device applied to electronic terminal | |
WO2022166069A1 (en) | Deep learning network determination method and apparatus, and electronic device and storage medium | |
WO2021169754A1 (en) | Photographic composition prompting method and apparatus, storage medium, and electronic device | |
JP7491867B2 (en) | VIDEO CLIP EXTRACTION METHOD, VIDEO CLIP EXTRACTION DEVICE AND STORAGE MEDIUM | |
WO2017107855A1 (en) | Picture searching method and device | |
CN106303234A (en) | photographing processing method and device | |
CN106227331A (en) | Test question searching method and device applied to electronic terminal | |
CN106303235A (en) | Photographing processing method and device | |
CN110502959A (en) | Sexual discriminating method, apparatus, storage medium and electronic equipment | |
CN111666976A (en) | Feature fusion method and device based on attribute information and storage medium | |
CN110348272B (en) | Dynamic face recognition method, device, system and medium | |
CN105512119A (en) | Image ranking method and terminal | |
CN113052025A (en) | Training method of image fusion model, image fusion method and electronic equipment | |
CN112528978A (en) | Face key point detection method and device, electronic equipment and 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170915 |
|
RJ01 | Rejection of invention patent application after publication |