CN107133620A - Method and device for determining search target - Google Patents

Method and device for determining search target Download PDF

Info

Publication number
CN107133620A
CN107133620A CN201710418171.XA CN201710418171A CN107133620A CN 107133620 A CN107133620 A CN 107133620A CN 201710418171 A CN201710418171 A CN 201710418171A CN 107133620 A CN107133620 A CN 107133620A
Authority
CN
China
Prior art keywords
translation
intelligent terminal
search
target
content
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
Application number
CN201710418171.XA
Other languages
Chinese (zh)
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 CN201710418171.XA priority Critical patent/CN107133620A/en
Publication of CN107133620A publication Critical patent/CN107133620A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G06V10/235Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition based on user input or interaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/142Image acquisition using hand-held instruments; Constructional details of the instruments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Machine Translation (AREA)

Abstract

The invention discloses a method and a device for determining a search target, wherein the method comprises the following steps: after a photographing question of the intelligent terminal is started, determining an initial projection area of a cursor lamp in a captured image frame; and if the situation that the intelligent terminal translates within the set time is monitored, determining the translation direction of the intelligent terminal relative to the initial projection area, and determining a corresponding search target in the translation direction. By using the method, the searching target in the shooting and scanning process can be quickly determined by setting whether the intelligent terminal moves within the time.

Description

A kind of determination method and device for searching for target
Technical field
The present invention relates to Computer Applied Technology field, more particularly to a kind of determination method and device for searching for target.
Background technology
It is the related application of function of intelligent terminal the next item up study to take pictures and sweep topic, and user can pass through taking the photograph on intelligent terminal As head combination cursor lamp, the capture, positioning and relevant search of content to be searched are realized.Specifically, carry out taking pictures when sweeping topic, cursor Lamp forms cursor view field first in captured images, and what is covered afterwards in recognizable determination cursor view field is to be searched Content, and relevant search is carried out to content to be searched.
Usually, the cursor view field that cursor lamp is formed can only often cover some or certain several words, if with Family needs to scan for more words, then needs the continuous mobile intelligent terminal of user, so that cursor view field covers one by one Whole contents to be searched, and all contents to be searched of fixation and recognition one by one, final realize are searched to all contents to be searched Rope.But when carrying out aforesaid operations, user needs to pay close attention to whether content to be searched is covered by cursor view field in real time, so that It is not easy to user and other operations is carried out while taking pictures and sweeping topic, in addition, the realization of aforesaid operations is excessively cumbersome, not only drops significantly Low take pictures sweeps the ageing of topic, also affects to take pictures in intelligent terminal and sweeps the Consumer's Experience of topic function.
The content of the invention
In view of this, the embodiments of the invention provide a kind of determination method and device for searching for target, to solve to take pictures to sweep During topic can not quick lock in search target the problem of.
In a first aspect, the embodiments of the invention provide a kind of determination method for searching for target, including:
Start taking pictures for intelligent terminal to sweep after topic, determine initial projections region of the cursor lamp in captured images frame;
If monitoring that the intelligent terminal is translated in setting time, it is determined that the intelligent terminal is relative to institute The translation direction in initial projections region is stated, and determines corresponding search target under the translation direction.
Second aspect, the embodiment of the present invention additionally provides a kind of determining device for searching for target, including:
Prime area determining module, sweeps after topic for starting taking pictures for intelligent terminal, determines cursor lamp in captured images Initial projections region in frame;
Translation direction determining module, for when monitoring that the intelligent terminal is translated in setting time, it is determined that Translation direction of the intelligent terminal relative to the initial projections region;
First object determining module, for the translation direction according to determination, determines corresponding search under the translation direction Target.
A kind of determination method and device for searching for target provided in an embodiment of the present invention, is starting the bat of intelligent terminal first According to sweeping after topic, initial projections region of the cursor lamp in captured images frame is determined;When monitoring intelligent terminal in setting time It is interior when translating, translation direction of the intelligent terminal relative to initial projections region is determined, finally be can determine that under the translation direction Corresponding search target.The embodiment of the present invention, can be by intelligent terminal setting time by using above-mentioned technical proposal Movement whether, quick to determine the search target swept during topic of taking pictures, compared with the conventional method, to sweep topic accurate ensureing to take pictures While spending, the determination process for taking pictures and sweeping and target being searched in topic is largely simplified, the operation of topic is swept so as to improve and take pictures Efficiency and effectively expand intelligent terminal and take pictures and sweep the application of topic function, and then enhance Consumer's Experience.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of schematic flow sheet of the determination method for search target that the embodiment of the present invention one is provided;
Fig. 2 is a kind of schematic flow sheet of the determination method for search target that the embodiment of the present invention two is provided;
Fig. 3 is a kind of structured flowchart of the determining device for search target that the embodiment of the present invention three is provided.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part related to the present invention rather than full content are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of schematic flow sheet of the determination method for search target that the embodiment of the present invention one is provided.This method is fitted The situation of search target is determined when sweeping topic for taking pictures in object, this method can be held by the determining device of search target OK, the device can be realized by software and/or hardware, and can be typically integrated in and be provided with the intelligent terminal for sweeping topic function of taking pictures.
In the present embodiment, the intelligent terminal can specifically refer to smart mobile phone, tablet personal computer, Intelligent bracelet and intelligent hand Table etc., which has to take pictures, sweeps the electronic equipment of topic function, meanwhile, camera and cursor lamp are provided with the intelligent terminal, when this reality When the intelligent terminal applied in example is smart mobile phone or tablet personal computer, the camera is rear camera, the cursor lamp and institute Camera is stated to be disposed adjacent in same horizontal line;When the intelligent terminal is intelligent watch or Intelligent bracelet, the shooting Head and cursor lamp are disposed adjacent the tip side in intelligent terminal.
It should be noted that the method for the present embodiment preferably runs into knotty problem suitable for user study or work When the application scenarios that topic obtains relevant explanation or answer are swept by taking pictures for intelligent terminal.But the scene is not limited to, intelligence The determination method for the search target that terminal is provided according to embodiments of the present invention, can quickly realize difficult object content to be searched Determination.
As shown in figure 1, a kind of determination method for search target that the embodiment of the present invention one is provided, including following operation:
S101, taking pictures for intelligent terminal of startup are swept after topic, determine initial projections area of the cursor lamp in captured images frame Domain.
In the present embodiment, the icon or pressing respective physical button of topic function can be swept monitoring that user's triggering is taken pictures When, start described take pictures and sweep topic function, wherein, the shooting being embodied on intelligent terminal swept and inscribe function on of taking pictures Head and cursor lamp accordingly start.
It is understood that the camera be particularly used in capture coverage in region shot (such as book contents, Perhaps paper document content etc. in training book) and form picture frame;The cursor lamp can be laser lamp, its light beam launched tool Body can form view field in region shot, wherein, the brightness and color that cursor lamp can be based on system default start hair Light, the brightness and color configured when can also be used based on the last time starts luminous.
In the present embodiment, take pictures sweep topic and be actuated for image frame-grab when, this step is by cursor lamp in the picture frame The view field of middle formation is defined as initial projections region, wherein, it is believed that it is covered in the content in the initial projections region It is one or more words, word or figure in region shot etc..
If S102, monitoring that the intelligent terminal is translated in setting time, it is determined that the intelligent terminal phase For the translation direction in the initial projections region, and determine corresponding search target under the translation direction.
In existing operation, determine behind the initial projections region, typically can will directly be covered in the initial projections region In content as search target, it is follow-up that corresponding search operation is directly carried out to the search target, but existing operation is once Operation can be only scanned for the content being covered in initial projections region, the present embodiment is taken pictures for raising sweeps topic search target The diversity of determination, it is determined that behind the initial projections region, monitoring whether the intelligent terminal is sent out in setting time first Raw translation, and different search targets are obtained in region shot according to determination result.
Specifically, the setting time can be set by system default, can also be accustomed to setting according to user, and the setting Time is typically preferably 2~3 seconds.In addition, the present embodiment can monitor intelligent terminal by the action sensor in intelligent terminal With the presence or absence of translation.
In the present embodiment, when monitoring that intelligent terminal has translation, the initial projections region can be made For corresponding reference coordinates, the specific region that time beacon light is covered in capture region is moved from there through intelligent terminal, finally, The specific region that can be currently covered according to the initial projections region and cursor lamp as reference coordinates, determines that intelligent terminal is relative Translation direction in initial projections region.
In addition, this step can determine corresponding search target during present translation direction according to the translation direction of determination.Tool Body, the present embodiment can preset a target corresponding table, and can record different translation directions pair in the target corresponding table The search target answered, it is possible thereby to it is determined that after translation direction, corresponding search target is determined according to the target corresponding table.
In the present embodiment, the search target specifically can be regarded as the take pictures content to be searched swept in topic, the search Target is no longer limited to the content being covered in initial projections region, can be specifically the interior of any region in captured images frame Hold.Exemplarily, certain row word or some sentence or certain several figure such as in picture frame.
It should be noted that the determination that target is searched in the present embodiment is unrelated with the translational length of intelligent terminal, only with intelligence Can terminal translation direction it is related, i.e. as long as determining the translation direction, no matter intelligent terminal translational length have how long, will Corresponding search target is determined based on translation direction.Thus, the operation based on the present embodiment, user takes pictures when sweeping topic without specially The moving process of intelligent terminal is paid close attention to, desired search target just can be obtained.
A kind of determination method and device for search target that the embodiment of the present invention one is provided, is starting intelligent terminal first Take pictures and sweep after topic, determine initial projections region of the cursor lamp in captured images frame;When monitoring intelligent terminal in setting In when translating, determine translation direction of the intelligent terminal relative to initial projections region, finally can determine that the translation direction Under corresponding search target.Using this method, can by the movement in intelligent terminal setting time whether, it is quick to determine to clap According to the search target swept during inscribing, compared with the conventional method, while guarantee is taken pictures and sweeps the topic degree of accuracy, largely simplify Take pictures the determination process swept and target is searched in topic, sweep the operating efficiency of topic so as to improve and take pictures and effectively expand intelligence Terminal, which is taken pictures, sweeps the application of topic function, and then enhances Consumer's Experience.
Embodiment two
Fig. 2 is a kind of schematic flow sheet of the determination method for search target that the embodiment of the present invention two is provided.It is of the invention real Apply example to optimize based on above-described embodiment, in the present embodiment, will determine that the intelligent terminal is initial relative to described The translation direction of view field, is further optimized for:Capture the picture frame in the intelligent terminal translation motion in real time, and with The picture frame of capture carries out image synthesis;The synthesized image frame when intelligent terminal translation stops is obtained, and determines the light Current projection region of the beacon light in the synthesized image frame;According to the initial projections region and Current projection region described Relative position in synthesized image frame, determines the motion track of the intelligent terminal;Determine intelligence eventually according to the motion track Hold the translation direction relative to the initial projections region.
On the basis of above-mentioned optimization, the present embodiment will further be determined according to the motion track intelligent terminal relative to The translation direction in the initial projections region, is embodied as:If the motion track and the level in the initial projections region Line is overlapped, it is determined that the translation direction is transverse translation;If the motion track is perpendicular to the initial projections region Horizontal line, it is determined that the translation direction is vertical translation;If the motion track and the level in the initial projections region Line formation angle, it is determined that the translation direction is angled translation.
Further, it is described to determine corresponding search target under the translation direction, it can specifically be optimized for:It is determined that being covered in Content to be identified in the initial projections region;When the moving direction is transverse translation, by the content institute to be identified Whole sentence content be defined as search for target;When the moving direction is vertical translation, by where the content to be identified Whole section of content is defined as searching for target;When the moving direction is angled translation, by setting where the content to be identified Determine region to be defined as searching for target, wherein, the setting regions is true according to the angled value of translation institute and default search mapping table It is fixed.
Added in addition, the present embodiment also optimizes:If monitoring intelligent terminal transfixion in setting time, The search target that then content to be identified being covered in the initial projections region is defined as.Meanwhile, also optimization is added:Root The search instruction triggered according to user, corresponding search operation is carried out to the search target;Or, according to search set in advance Instruction, corresponding search operation is carried out to the search target.
As shown in Fig. 2 a kind of determination method for search target that the embodiment of the present invention two is provided, specifically includes following behaviour Make:
S201, taking pictures for intelligent terminal of startup are swept after topic, determine initial projections area of the cursor lamp in captured images frame Domain, and determination is covered in the content to be identified in the initial projections region.
Exemplarily, by taking intelligent watch as an example, this step monitors that taking pictures on user's triggering intelligent watch sweeps topic After function, the startup for search of taking pictures, and institute can be realized by starting camera and cursor lamp positioned at intelligent watch top State the brightness set when cursor lamp is used based on the last time and color state is started.
Specifically, this step is after the picture frame of camera capture is got, by throwing of the cursor lamp in described image frame Shadow zone domain is defined as initial projections region, meanwhile, also the picture material covered in the initial projections region is defined as waiting to know Other content, for the determination of subsequent searches target.The content to be identified specifically can be regarded as treating to recognize by characteristics of image Method carries out the picture material of characteristics of image identification.
Whether S202, the monitoring intelligent terminal translate in setting time, if it is not, then performing S203;If so, then Perform S204.
Exemplarily, it is determined that behind initial projections region, this step monitors the translation of intelligent terminal by action sensor Whether, if intelligent terminal is not translated, equivalent to intelligent terminal in setting time transfixion, now can perform S203;If intelligent terminal is translated, it can be performed since S204.
S203, the search target that the content to be identified being covered in the initial projections region is defined as, subsequent execution S213。
In the present embodiment, intelligent terminal is in setting time during transfixion, it may be determined that treating in initial projections region It is search target to recognize content.It is understood that before the content to be identified is as search realization of goal information search, it is first Corresponding characteristics of image can be first identified by characteristics of image recognition methods, for determining the specific features of content to be identified. In addition, it is determined that in the case of this kind after corresponding search target, it is possible to jump to the information search that S213 scans for target.
Exemplarily, the pixel coordinate region of initial projections region overlay in picture frame can be designated as content to be identified, Now the content to be identified can be determined for word according to the characteristics of image of acquisition after characteristics of image identification, and it is recognizable true Surely the character string of the word is constituted, such as " money ", " money " final search target can be used as afterwards.
S204, the picture frame captured in real time in the intelligent terminal translation motion, and schemed with the picture frame that has captured As synthesis.
In the present embodiment, when intelligent terminal is translated in setting time, this step can capture intelligent end in real time Hold translation motion in each picture frame, and for obtain with larger region shot picture frame, this step can continuously will currently The picture frame of capture and the picture frame (or the picture frame synthesized before) captured before carry out image synthesis processing.This step Purpose is:Comprising the initial pictures region initially determined that in synthesized picture frame, and/or, wrapped in synthesized picture frame Containing more picture materials as search target.
S205, the acquisition intelligent terminal translate synthesized image frame when stopping, and determine that the cursor lamp is closed described Into the Current projection region in picture frame.
The present embodiment can continuously perform S204 operation until monitoring that intelligent terminal stops translation, this step can obtain flat The synthesized image frame moved after stopping, while can determine that the projected area that the cursor lamp of intelligent terminal is formed in the course picture frame Domain, and it is recorded as Current projection region.
S206, the relative position according to the initial projections region and Current projection region in the synthesized image frame, Determine the motion track of the intelligent terminal.
Behind the Current projection region that cursor lamp is determined based on above-mentioned S205, know according to treating in initial projections region is covered in Other content can determine initial projections region corresponding pixel coordinate position in the synthesized image frame;Equally, it also can determine that and work as Pixel coordinate position of the front projection region in the synthesized image frame, thus can be according to the two relative position in synthesized image frame Put, the line of centres of the two relative position can be finally defined as to motion track when intelligent terminal is actual to be translated.
, can be true according to the position relationship of the motion track and initial projections regional water horizontal line of intelligent terminal in the present embodiment Determine the translation direction that intelligent terminal may have, wherein, the S207~S209 of the present embodiment sets forth intelligent terminal may Several translation directions possessed.
If S207, the motion track are overlapped with the horizontal line in the initial projections region, it is determined that the translation side To for transverse translation, subsequent execution S210.
Specifically, the central point line in initial projections region and Current projection region can be regarded as to the moving rail of intelligent terminal Mark, the present embodiment can determine the horizontal line in the region by the central point in the initial projections region, when the motion track When being overlapped with the horizontal line, it is believed that the translation direction of intelligent terminal is transverse translation.It can subsequently be determined and the horizontal stroke by S210 To the corresponding search target of translation.
If S208, the motion track are perpendicular to the horizontal line in the initial projections region, it is determined that the translation side To for vertical translation, subsequent execution S211.
Foregoing description is connect, when the motion track is in 90 ° of angles with determining horizontal line, it is believed that the translation of intelligent terminal Direction is vertical translation.Subsequently search target corresponding with the vertical translation can be determined by S211.
If S209, the motion track and the horizontal line formation angle in the initial projections region, it is determined that described flat Shifting direction is angled translation, subsequent execution S212.
Likewise, the description in S208, when it is determined that the motion track formed and the horizontal line formation angle determined And angle value not be 0 ° and 90 ° (qualifications for not meeting above-mentioned S207 and S208) when, it is believed that intelligent terminal put down Shifting direction is angled translation.Search target corresponding with the angled translation can be subsequently determined by S212.
In the present embodiment, it is believed that above-mentioned each translation direction is set with phase in the target corresponding table that embodiment one is illustrated The search target answered, following S210~S212, which sets forth, is possible to corresponding search target under different translation directions.
S210, by the whole sentence content where the content to be identified be defined as search for target, subsequent execution S213.
Above-mentioned S207 is met, when the translation direction of intelligent terminal is transverse translation, during the preferable transverse translation of this step It is the whole sentence content where content to be identified to search for target, and can subsequent execution S213.Wherein, this step and following S211 and Content to be identified in S212 refers specifically to the picture material being covered under initial projections region.
Specifically, the present embodiment can by optical character identification (Optical Character Recognition, OCR mode) determines to constitute the punctuation mark mark of one whole content in the synthesized image frame, in Chinese or English Fullstop.Exemplarily, can will be between two fullstops and contain the picture material of the content to be identified to be defined as one whole Sentence word content, can carry out characteristics of image identification, and will carry out after characteristics of image identification to the whole sentence word content afterwards One whole content as transverse translation search target.
S211, by whole section of content where the content to be identified be defined as search for target, subsequent execution S213.
Above-mentioned S208 is met, when the translation direction of intelligent terminal is vertical translation, during the preferable vertical translation of this step It is whole section of content where content to be identified to search for target, and can subsequent execution S213.
It is understood that the present embodiment can equally determine composition one by way of OCR in the synthesized image frame There is carriage return character for empty or section end in two first characters of the paragraph format of whole section of content, such as section.Exemplarily, it will can meet Above-mentioned paragraph format feature and contain the picture material of the content to be identified and be defined as one whole section of word content, Zhi Houke To carry out characteristics of image identification to whole section of word content, and one whole section of content after characteristics of image identification will be carried out as vertical The search target of translation.
S212, by the setting regions where the content to be identified be defined as search for target, subsequent execution S213.
Above-mentioned S209 is met, when the translation direction of intelligent terminal is angled translation, the preferably angled translation of this step When search target be setting regions in synthesized image frame picture material, and can subsequent execution S213.
It is understood that the setting regions in the present embodiment specifically can be according to the translation angled value of institute and default search Mapping table determination, wherein, the mapping table of searching for can be accustomed to setting or system default setting according to user, and described search for maps It is interval with corresponding setting regions that the row record of table is expressed as an angular configurations.Therefore, this step can determine that institute is angled The angular configurations being worth belonging in the search mapping table are interval, thus determine the interval corresponding setting regions of the angular configurations Search target corresponding for angled value.It should be noted that the selection to the setting regions, while depending on intelligence eventually Hold mobile positive direction (as obliquely or obliquely) and angular configurations interval belonging to angled value, i.e. can be regarded as intelligence When the positive direction of energy terminal movement is different, even if institute is angled identical, its corresponding setting regions is it is possible to difference.
Exemplarily, the setting regions can be the multline text content for including the content to be identified, e.g., work as translation Positive direction is obliquely and when angled value is 30 °, can search the search mapping table, determine angled value institute of the institute first The angular configurations at place are interval, while determining the positive direction of intelligent terminal translation obliquely, to thereby determine that the angular configurations are interval Corresponding setting regions, wherein, the setting regions can be specifically:With determination content to be identified the place standard of behaviour, then The picture material of adjacent rows word is chosen upwards;The setting regions can be defined as the angled value of current institute by final the present embodiment Corresponding search target.
S213, the search instruction triggered according to user, corresponding search operation is carried out to the search target;Or, root According to search instruction set in advance, corresponding search operation is carried out to the search target.
In this embodiment, whether determine to search for accordingly after target according to the translation of intelligent terminal, it is necessary to search target Follow-up search operation is carried out, the search terms triggering generation search instruction that the present embodiment can be selected according to user in search option (such as the search instruction of triggering generation character translation), then performs corresponding search operation (such as root of search instruction to search target The search of translation information is carried out to search target according to the search instruction of character translation).
In addition, the present embodiment can preset some search instructions to realize the fast search of search target, as long as according to Aforesaid operations determine search target, then execution preset search that can be preferred instructs corresponding search operation.It is understood that can To be accustomed to according to the search of user with setting efficiently search instruction.In addition, the present embodiment is searched to the information of the search target Rope is not limited to two kinds of operations of this step offer, and information search can be equally realized by other means.
A kind of determination method for search target that the embodiment of the present invention two is provided, has monitored intelligent terminal in setting first Whether is interior translation, then gives the specific behaviour relative to initial projections region translation direction when determining intelligent terminal translation Make, while the determination of search target is operated when embodying intelligent terminal translation;In addition, giving intelligent terminal setting time The determination operation of target is searched for during interior transfixion., can be by the movement in intelligent terminal setting time using this method Whether, it is quick to determine the search target swept during topic of taking pictures, compared with the conventional method, the same of the topic degree of accuracy is swept ensureing to take pictures When, largely simplify take pictures sweep topic in search for target determination process so that improve take pictures sweep the operating efficiency of topic with And effectively expand intelligent terminal and take pictures and sweep the application of topic function, and then enhance Consumer's Experience.
Embodiment three
Fig. 3 is a kind of structured flowchart of the determining device for search target that the embodiment of the present invention three is provided.The device is applicable The situation of search target is determined when sweeping topic in taking pictures in object, the device can be realized by software and/or hardware, and typically It is integrated in and is set with the intelligent terminal for sweeping topic function of taking pictures.As shown in figure 3, the device includes:Prime area determining module 31, Translation direction determining module 32 and first object determining module 33.
Wherein, prime area determining module 31, sweeps after topic for starting taking pictures for intelligent terminal, determines that cursor lamp is being caught Obtain the initial projections region in picture frame;
Translation direction determining module 32, for when monitoring that the intelligent terminal is translated in setting time, really Translation direction of the fixed intelligent terminal relative to the initial projections region;
First object determining module 33, for the translation direction according to determination, determines corresponding under the translation direction search Rope target.
In the present embodiment, the device sweeps topic by the taking pictures for intelligent terminal of startup of prime area determining module 31 first Afterwards, initial projections region of the cursor lamp in captured images frame is determined;Then by translation direction determining module 32 when monitoring When being translated to the intelligent terminal in setting time, determine the intelligent terminal relative to the initial projections region Translation direction;Eventually through translation direction of the first object determining module 33 according to determination, correspondence under the translation direction is determined Search target.
A kind of determining device for search target that the embodiment of the present invention three is provided, can perform any embodiment of the present invention and provides Search target determination method, possess perform search target the corresponding functional module of determination method and beneficial effect.Utilize The device, can by the movement in intelligent terminal setting time whether, it is quick to determine the search mesh swept during topic of taking pictures Mark, compared with existing apparatus, while guarantee is taken pictures and sweeps the topic degree of accuracy, largely simplifies to take pictures to sweep in topic and searches for target Determination process so that improve take pictures sweep topic operating efficiency and effectively expand intelligent terminal take pictures sweep topic function answer With scope, and then enhance Consumer's Experience.
Further, translation direction determining module 32, including:
Image capturing unit, for when monitoring that the intelligent terminal is translated in setting time, capturing in real time Picture frame in the intelligent terminal translation motion, and synthesized with the picture frame progress image captured;
Current region determining unit, for obtaining the synthesized image frame when intelligent terminal translation stops, and determines institute State Current projection region of the cursor lamp in the synthesized image frame;
Motion track determining unit, for according to the initial projections region and Current projection region in the composograph Relative position in frame, determines the motion track of the intelligent terminal;
Direction-determining unit, for determining intelligent terminal relative to the initial projections region according to the motion track Translation direction.
On the basis of above-mentioned optimization, the direction-determining unit, specifically for:
When the motion track is overlapped with the horizontal line in the initial projections region, determine the translation direction for laterally Translation;When horizontal line of the motion track perpendicular to the initial projections region, determine that the translation direction is put down to be vertical Move;When the motion track and the horizontal line in initial projections region formation angle, it is in angle to determine the translation direction Degree translation.
Further, first object determining module 33, specifically for:
It is determined that being covered in the content to be identified in the initial projections region;When the moving direction is transverse translation, Whole sentence content where the content to be identified is defined as to search for target;When the moving direction is vertical translation, by institute Whole section of content where stating content to be identified is defined as searching for target;, will be described when the moving direction is angled translation Setting regions where content to be identified be defined as search for target, wherein, the setting regions according to translation institute it is angled value and Default search mapping table is determined.
In the above-described embodiments, the device, which also optimizes, includes:
Second target determination module 34, for when monitoring intelligent terminal transfixion in setting time, inciting somebody to action The search target that the content to be identified being covered in the initial projections region is defined as.
Further, the installation optimization is added:
Target search module 35, for the search instruction triggered according to user, is searched accordingly to the search target Rope is operated;Or, according to search instruction set in advance, corresponding search operation is carried out to the search target.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (12)

1. a kind of determination method for searching for target, it is characterised in that including:
Start taking pictures for intelligent terminal to sweep after topic, determine initial projections region of the cursor lamp in captured images frame;
If monitoring that the intelligent terminal is translated in setting time, it is determined that the intelligent terminal is first relative to described Beginning view field translation direction, and determine corresponding search target under the translation direction.
2. according to the method described in claim 1, it is characterised in that described to determine the intelligent terminal relative to the initial throwing The translation direction in shadow zone domain, including:
The picture frame in the intelligent terminal translation motion is captured in real time, and carries out image with the picture frame captured synthesizes;
The synthesized image frame when intelligent terminal translation stops is obtained, and determines the cursor lamp in the synthesized image frame Current projection region;
According to the relative position of the initial projections region and Current projection region in the synthesized image frame, the intelligence is determined The motion track of energy terminal;
Translation direction of the intelligent terminal relative to the initial projections region is determined according to the motion track.
3. method according to claim 2, it is characterised in that described to determine that intelligent terminal is relative according to the motion track Translation direction in the initial projections region, including:
If the motion track is overlapped with the horizontal line in the initial projections region, it is determined that the translation direction is laterally flat Move;
If the motion track is perpendicular to the horizontal line in the initial projections region, it is determined that the translation direction is vertical flat Move;
If the horizontal line formation angle in the motion track and the initial projections region, it is determined that the translation direction be in Angle is translated.
4. method according to claim 3, it is characterised in that corresponding search mesh under the determination translation direction Mark, including:
It is determined that being covered in the content to be identified in the initial projections region;
When the moving direction is transverse translation, the whole sentence content where the content to be identified is defined as to search for target;
When the moving direction is vertical translation, whole section of content where the content to be identified is defined as to search for target;
When the moving direction is angled translation, the setting regions where the content to be identified is defined as to search for mesh Mark, wherein, the setting regions is determined according to the angled value of translation institute and default search mapping table.
5. according to any described methods of claim 1-4, it is characterised in that also include:
If monitoring intelligent terminal transfixion in setting time, it will be covered in the initial projections region The search target that content to be identified is defined as.
6. method according to claim 5, it is characterised in that also include:
The search instruction triggered according to user, corresponding search operation is carried out to the search target;
Or, according to search instruction set in advance, corresponding search operation is carried out to the search target.
7. a kind of determining device for searching for target, it is characterised in that including:
Prime area determining module, sweeps after topic for starting taking pictures for intelligent terminal, determines cursor lamp in captured images frame Initial projections region;
Translation direction determining module, for when monitoring that the intelligent terminal is translated in setting time, it is determined that described Translation direction of the intelligent terminal relative to the initial projections region;
First object determining module, for the translation direction according to determination, determines corresponding search target under the translation direction.
8. device according to claim 7, it is characterised in that the translation direction determining module, including:
Image capturing unit, for when monitoring that the intelligent terminal is translated in setting time, capture to be described in real time Picture frame in intelligent terminal translation motion, and synthesized with the picture frame progress image captured;
Current region determining unit, for obtaining the synthesized image frame when intelligent terminal translation stops, and determines the light Current projection region of the beacon light in the synthesized image frame;
Motion track determining unit, for according to the initial projections region and Current projection region in the synthesized image frame Relative position, determine the motion track of the intelligent terminal;
Direction-determining unit, for determining translation of the intelligent terminal relative to the initial projections region according to the motion track Direction.
9. device according to claim 8, it is characterised in that the direction-determining unit, specifically for:
When the motion track is overlapped with the horizontal line in the initial projections region, determine the translation direction laterally to put down Move;
When horizontal line of the motion track perpendicular to the initial projections region, determine that the translation direction is put down to be vertical Move;
When the motion track and the horizontal line in initial projections region formation angle, it is in angle to determine the translation direction Degree translation.
10. device according to claim 9, it is characterised in that the first object determining module, specifically for:
It is determined that being covered in the content to be identified in the initial projections region;
When the moving direction is transverse translation, the whole sentence content where the content to be identified is defined as to search for target;
When the moving direction is vertical translation, whole section of content where the content to be identified is defined as to search for target;
When the moving direction is angled translation, the setting regions where the content to be identified is defined as to search for mesh Mark, wherein, the setting regions is determined according to the angled value of translation institute and default search mapping table.
11. according to any described devices of claim 7-10, it is characterised in that also include:
Second target determination module, for when monitoring intelligent terminal transfixion in setting time, will be covered in The search target that content to be identified in the initial projections region is defined as.
12. device according to claim 11, it is characterised in that also include:
Target search module, for the search instruction triggered according to user, corresponding search operation is carried out to the search target; Or, according to search instruction set in advance, corresponding search operation is carried out to the search target.
CN201710418171.XA 2017-06-06 2017-06-06 Method and device for determining search target Pending CN107133620A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710418171.XA CN107133620A (en) 2017-06-06 2017-06-06 Method and device for determining search target

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710418171.XA CN107133620A (en) 2017-06-06 2017-06-06 Method and device for determining search target

Publications (1)

Publication Number Publication Date
CN107133620A true CN107133620A (en) 2017-09-05

Family

ID=59735127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710418171.XA Pending CN107133620A (en) 2017-06-06 2017-06-06 Method and device for determining search target

Country Status (1)

Country Link
CN (1) CN107133620A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182277A (en) * 2018-01-25 2018-06-19 广东小天才科技有限公司 Method and system for searching questions based on dominant points and handheld photographing equipment
CN108268634A (en) * 2018-01-17 2018-07-10 广东小天才科技有限公司 Photographing and searching method, intelligent pen, searching terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866194A (en) * 2015-05-21 2015-08-26 百度在线网络技术(北京)有限公司 Picture searching method and apparatus
CN105975550A (en) * 2016-04-29 2016-09-28 广东小天才科技有限公司 Question searching method and device of intelligent equipment
CN106354260A (en) * 2016-08-31 2017-01-25 广东小天才科技有限公司 Method and device for searching questions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866194A (en) * 2015-05-21 2015-08-26 百度在线网络技术(北京)有限公司 Picture searching method and apparatus
CN105975550A (en) * 2016-04-29 2016-09-28 广东小天才科技有限公司 Question searching method and device of intelligent equipment
CN106354260A (en) * 2016-08-31 2017-01-25 广东小天才科技有限公司 Method and device for searching questions

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108268634A (en) * 2018-01-17 2018-07-10 广东小天才科技有限公司 Photographing and searching method, intelligent pen, searching terminal and storage medium
CN108182277A (en) * 2018-01-25 2018-06-19 广东小天才科技有限公司 Method and system for searching questions based on dominant points and handheld photographing equipment
CN108182277B (en) * 2018-01-25 2019-12-31 广东小天才科技有限公司 Method and system for searching questions based on dominant points and handheld photographing equipment

Similar Documents

Publication Publication Date Title
US10375279B2 (en) User feedback for real-time checking and improving quality of scanned image
JP4019063B2 (en) Optical terminal device, image processing method and system
US9330292B2 (en) Two-dimensional code scanning method and device
US20120092516A1 (en) Imaging device and smile recording program
CN101076996A (en) Device and method for capturing image
US10171753B2 (en) Shooting method, shooting device and computer storage medium
JP2009071666A (en) Imaging device, and control method and program thereof
JP2004318823A (en) Information display system, information processing apparatus, pointing device and pointer mark displaying method in information display system
CN108600610A (en) Shoot householder method and device
US10771716B2 (en) Control device, monitoring system, and monitoring camera control method
WO2024131693A1 (en) Bird identification method, device and system
CN104202521A (en) Shooting method and shooting device
CN106161964A (en) A kind of photographic method and device
CN112887601B (en) Shooting method and device and electronic equipment
US20150261385A1 (en) Picture signal output apparatus, picture signal output method, program, and display system
CN107133620A (en) Method and device for determining search target
CN114500837B (en) Shooting method and device and electronic equipment
JP2014086988A (en) Image display device and program
JP5310040B2 (en) Imaging processing apparatus and program
JP5991323B2 (en) Image processing apparatus, image processing method, and image processing program
US20220244788A1 (en) Head-mounted display
US8964128B1 (en) Image data processing method and apparatus
CN105611108A (en) Information processing method and electronic equipment
CN114143455B (en) Shooting method and device and electronic equipment
CN109257542A (en) Mobile terminal is taken pictures repairs figure processing method, mobile terminal and storage medium in real time

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: 20170905

RJ01 Rejection of invention patent application after publication