CN105487772A - Information capturing method and apparatus - Google Patents

Information capturing method and apparatus Download PDF

Info

Publication number
CN105487772A
CN105487772A CN201510843931.2A CN201510843931A CN105487772A CN 105487772 A CN105487772 A CN 105487772A CN 201510843931 A CN201510843931 A CN 201510843931A CN 105487772 A CN105487772 A CN 105487772A
Authority
CN
China
Prior art keywords
information
touch
screen
gray scale
unit
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
CN201510843931.2A
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510843931.2A priority Critical patent/CN105487772A/en
Publication of CN105487772A publication Critical patent/CN105487772A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an information capturing method and apparatus. The information capturing method comprises: when a touch screen is in an information capturing state, acquiring an information capturing gesture and a current interface of the touch screen; and according to the information capturing gesture and the current interface of the touch screen, acquiring target capture information. The touch screen is enabled to be in the information capturing state in a random interface, and according to the information capturing gesture and the current interface of the touch screen, acquisition of the target capture information is achieved, so that flexibility and efficiency of information capturing are improved.

Description

Information extraction method and device
Technical field
The present invention relates to a kind of communication technical field, particularly relate to a kind of information extraction method and device.
Background technology
Touch-screen is also called " touch screen ", " contact panel ", be a kind ofly can carry out with finger the induction type liquid crystal indicator that inputs.Touch-screen mainly comprises resistive touch screen and the large class of capacitive touch screen two.
Wherein, capacitive touch screen utilizes the electric current of human body to respond to carry out work.Capacitance type touch control screen primarily of: glassivation, conductive layer and display screen form; conductive layer is the key component of whole touch screen; ITO (the IndiumTinOxide mainly comprising a glass substrate and be coated with on the glass substrate; tin indium oxide) film; and four limits of ito thin film all plate long and narrow electrode, and be connected with control circuit by electrode.When with finger touch screen, because human body is charged, finger and ITO are coated with interlayer and can form a coupling capacitance, the electric current that four limit electrodes send can flow to contact, and the strong and weak distance to pointing electrode of electric current is directly proportional, the ratio of control circuit calculating current and power, accurately calculate the position of touch point.
Along with the development of touch screen technology, existing mobile terminal adopts touch-screen as the display screen of mobile terminal usually.Mobile terminal of touch screen has become an indispensable part in people's life because it is easy to use.
In the use procedure of mobile terminal of touch screen, often can run into the scene of gripping portion word or image in touch-screen.Word captures and applies to dictionary class application software in a large number with recognition technology, such as, when reading english article, captures for unacquainted word, to obtain its translation in dictionary class application software.Now, general way is that user passes through length by certain word, and word can jump out selected areas, if do not chosen completely, the left side and the right that can drag selected areas manually adjust.But mainly there is following several aspects shortcoming in above-mentioned word grasping means:
The first, only there is certain applications software just to have word and capture function, use can not be recalled on arbitrary interface.
The second, in order to distinguish with general touch action, just must carry out growing by etc. operation can choose word, word captures sluggish, and resolution is poor, and user's use sense is subject to poor.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide a kind of information extraction method and device, function can not be captured at arbitrary interface calling word for solving in prior art, long by waiting operation to carry out word crawl sluggish, resolution is poor, and user's use sense is by poor problem.
For achieving the above object and other relevant objects, the invention provides a kind of information extraction method, described information extraction method comprises the following steps: under touch-screen is in information scratching state, and obtaining information captures the current interface of gesture and touch-screen; According to the current interface of described information scratching gesture and touch-screen, obtain target and capture information.
In one embodiment of the invention, according to the current interface of described information scratching gesture and touch-screen, obtain target and capture information and comprise: obtain the target location coordinate of described information scratching gesture in described touch-screen; Convert the current interface of described touch-screen to histogram data, and determine the gray scale at described target location coordinate place; According to the histogram data of the current interface of described touch-screen and the gray scale at described target location coordinate place, obtain target and capture information.
In one embodiment of the invention, according to the histogram data of the current interface of described touch-screen and the gray scale at described target location coordinate place, obtain target crawl information and comprise: S101, get described target location coordinate as basic point; S102, judges whether the gray scale difference value of the described gray scale of each consecutive point of basic point surrounding and the gray scale of described basic point is less than gray difference threshold; If be less than, then perform step S103; Otherwise, perform step S104; S103, re-executes step S102 using these consecutive point as new basic point; S104, captures a frontier point of information using described basic point as described target; S105, draws according to frontier point described in each profile that described target captures information; S106, captures the profile of information and the current interface of touch-screen according to described target, obtains target and captures information.
In one embodiment of the invention, according to the histogram data of the current interface of described touch-screen and the gray scale at described target location coordinate place, obtain target crawl information to comprise: S201, get described target location coordinate as basic point, and the gray scale of getting described target location coordinate place is as with reference to gray scale; S202, judges whether the described gray scale of each consecutive point of basic point surrounding and the gray scale difference value of described reference gray level are less than gray difference threshold; If be less than, then perform step S203; Otherwise, perform step S204; S203, re-executes step S202 using these consecutive point as new basic point; S204, captures a frontier point of information using described basic point as described target; S205, draws according to frontier point described in each profile that described target captures information; S206, captures the profile of information and the current interface of touch-screen according to described target, obtains target and captures information.
In one embodiment of the invention, before obtaining the target location coordinate of described information scratching gesture in described touch-screen, also comprise: judge that whether image information corresponding with described information scratching gesture in the current interface of described touch-screen is consistent with the background image of the current interface of described touch-screen; If so, then obtaining information captures the current interface of gesture and touch-screen again; Otherwise, obtain the target location coordinate of described information scratching gesture in described touch-screen.
In one embodiment of the invention, under touch-screen is in information scratching state, obtaining information also comprises before capturing the current interface of gesture and touch-screen: described touch-screen obtains touch gestures; Judge whether the touch gestures obtained is that information scratching presets gesture; If so, described touch-screen is then made to be in information scratching state.
Accordingly, present invention also offers a kind of information scratching device, described information scratching device comprises: data capture unit, and under being in information scratching state at touch-screen, obtaining information captures the current interface of gesture and touch-screen; Information scratching unit, is connected with described data capture unit, for the current interface according to described information scratching gesture and touch-screen, obtains target and captures information.
In one embodiment of the invention, described information scratching unit comprises: coordinate acquiring unit, is connected with described data capture unit, for obtaining the target location coordinate of described information scratching gesture in described touch-screen; Data processing unit, is connected with described data capture unit and coordinate acquiring unit, for converting the current interface of described touch-screen to histogram data, and determines the gray scale at described target location coordinate place; Information process unit, is connected with described data processing unit, for the histogram data of the current interface according to described touch-screen and the gray scale at described target location coordinate place, obtains target and captures information.
In one embodiment of the invention, described information process unit comprises: the first basic point determining unit, is connected with described data processing unit, for getting described target location coordinate as basic point; First dif ference judgment unit, is connected with described first basic point determining unit, for judging whether the gray scale difference value of the described gray scale of each consecutive point of basic point surrounding and the gray scale of described basic point is less than gray difference threshold; Described first basic point determining unit also for when the gray scale difference value of the gray scale of basic point consecutive point and the gray scale of described basic point is less than gray difference threshold, using these consecutive point as new basic point; First frontier point acquiring unit, be connected with described first dif ference judgment unit, for when the gray scale difference value of the gray scale of basic point consecutive point and the gray scale of described basic point is more than or equal to gray difference threshold, capture a frontier point of information using described basic point as described target; First profile drawing unit, is connected with described first frontier point acquiring unit, captures the profile of information for drawing described target according to frontier point described in each; First information extraction unit, is connected with described first profile drawing unit, for capturing the profile of information and the current interface of touch-screen according to described target, obtaining target and capturing information.
In one embodiment of the invention, described information process unit comprises: the second basic point determining unit, is connected with described data processing unit, for getting described target location coordinate as basic point; Second dif ference judgment unit, be connected with described second basic point determining unit, for getting the gray scale at described target location coordinate place as reference gray scale, and judge whether the described gray scale of each consecutive point of basic point surrounding and the gray scale difference value of described reference gray level are less than gray difference threshold; Described second basic point determining unit also for when the gray scale of basic point consecutive point and the gray scale difference value of described reference gray level are less than gray difference threshold, using these consecutive point as new basic point; The second boundary point acquiring unit, is connected with described second dif ference judgment unit, for when the gray scale of basic point consecutive point and the gray scale difference value of described reference gray level are more than or equal to gray difference threshold, captures a frontier point of information using described basic point as described target; Second profile drawing unit, is connected with described the second boundary point acquiring unit, captures the profile of information for drawing described target according to frontier point described in each; Second information extraction unit, is connected with described second profile drawing unit, for capturing the profile of information and the current interface of touch-screen according to described target, obtaining target and capturing information.
In one embodiment of the invention, described information scratching device also comprises: object judgement unit, be connected with described data capture unit and coordinate acquiring unit, whether consistent with the background image of the current interface of described touch-screen for judging image information corresponding with described information scratching gesture in the current interface of described touch-screen; Described data capture unit be used for the background image of the current interface of image information corresponding with described information scratching gesture in the current interface of described touch-screen and described touch-screen consistent time, the current interface of obtaining information crawl gesture and touch-screen again; Described coordinate acquiring unit be used for the background image of the current interface of image information corresponding with described information scratching gesture in the current interface of described touch-screen and described touch-screen inconsistent time, obtain the target location coordinate of described information scratching gesture in described touch-screen.
In one embodiment of the invention, described information scratching device also comprises: condition adjudgement unit, be connected with described data capture unit, for receiving the touch gestures that described touch-screen obtains, and obtained touch gestures be information scratching preset gesture time, determine that described touch-screen is in information scratching state.
As mentioned above, information extraction method of the present invention and device, have following beneficial effect:
Under touch-screen is in information scratching state, obtaining information captures the current interface of gesture and touch-screen; According to the current interface of described information scratching gesture and touch-screen, obtain target and capture information.Enable touch-screen all can be in information scratching state in arbitrary interface, and according to the current interface of described information scratching gesture and touch-screen, realize target capture the acquisition of information, improves dirigibility and the efficiency of information scratching.
Accompanying drawing explanation
Fig. 1 is shown as the schematic flow sheet of information extraction method of the present invention in an embodiment.
Fig. 2 is shown as the schematic flow sheet of information extraction method of the present invention in another embodiment.
Fig. 3 is shown as in information extraction method of the present invention and obtains the schematic flow sheet of target crawl information in an embodiment.
Fig. 4 is shown as in information extraction method of the present invention and obtains the schematic flow sheet of target crawl information in another embodiment.
Fig. 5 is shown as information scratching of the present invention and is installed on structural representation in an embodiment.
Fig. 6 is shown as information scratching of the present invention and is installed on structural representation in another embodiment.
Fig. 7 is shown as the structural representation of information process unit in an embodiment in information scratching device of the present invention.
Fig. 8 is shown as the structural representation of information process unit in another embodiment in information scratching device of the present invention.
Element numbers explanation
1 information scratching device
11 data capture units
12 information scratching unit
2 information scratching devices
21 data capture units
22 information scratching unit
221 coordinate acquiring units
222 object judgement unit
223 data processing units
224 information process units
23 condition adjudgement unit
300 information process units
301 first basic point determining units
302 first dif ference judgment unit
303 first frontier point acquiring units
304 first profile drawing units
305 first information extraction units
400 information process units
401 second basic point determining units
402 second dif ference judgment unit
403 the second boundary point acquiring units
404 second profile drawing units
405 second information extraction unit
S11 ~ S12 step
S21 ~ S28 step
S101 ~ S106 step
S201 ~ S206 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram provided in following examples only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
Can not capture function at arbitrary interface calling word in prior art, long by waiting operation to carry out word crawl sluggish, resolution is poor, and user's use sense is by poor.For solving the problem, the invention provides a kind of information extraction method and device.
Refer to Fig. 1, the invention provides the schematic flow sheet of a kind of information extraction method in an embodiment.In Fig. 1, information extraction method comprises:
Step S11, under touch-screen is in information scratching state, obtaining information captures the current interface of gesture and touch-screen;
Step S12, according to the current interface of described information scratching gesture and touch-screen, obtains target and captures information.
In the present embodiment, obtain the current interface of described touch-screen in the display buffer district of operating system bottom, thus the application program of the current display of the terminal comprising touch-screen is not impacted.
In the present embodiment, under touch-screen is in information scratching state, obtaining information captures the current interface of gesture and touch-screen; According to the current interface of described information scratching gesture and touch-screen, obtain target and capture information.Enable touch-screen all can be in information scratching state in arbitrary interface, and according to the current interface of described information scratching gesture and touch-screen, realize target capture the acquisition of information.
Refer to Fig. 2, the invention provides the schematic flow sheet of a kind of information extraction method in another embodiment.In Fig. 2, information extraction method comprises:
Step S21, described touch-screen obtains touch gestures.
Step S22, judges whether the touch gestures obtained is that information scratching presets gesture.If so, then step S23 is performed, otherwise, re-execute step S21.
Step S23, makes touch-screen be in information scratching state.
Step S24, obtaining information captures the current interface of gesture and touch-screen.
Step S25, judges that whether image information corresponding with described information scratching gesture in the current interface of described touch-screen is consistent with the background image of the current interface of described touch-screen; If so, then step S24 is re-executed, otherwise, perform step S26.
Step S26, obtains the target location coordinate of described information scratching gesture in described touch-screen;
Step S27, converts the current interface of described touch-screen to histogram data, and determines the gray scale at described target location coordinate place;
Step S28, according to the histogram data of the current interface of described touch-screen and the gray scale at described target location coordinate place, obtains target and captures information.
Refer to Fig. 3, the invention provides in a kind of information extraction method and obtain the schematic flow sheet of target crawl information in an embodiment.In Fig. 3 in information extraction method, according to the histogram data of the current interface of described touch-screen and the gray scale at described target location coordinate place, obtain target crawl information and comprise:
S101, gets described target location coordinate as basic point;
S102, judges whether the gray scale difference value of the described gray scale of each consecutive point of basic point surrounding and the gray scale of described basic point is less than gray difference threshold; If be less than, then perform step S103; Otherwise, perform step S104;
S103, re-executes step S102 using these consecutive point as new basic point;
S104, captures a frontier point of information using described basic point as described target;
S105, draws according to frontier point described in each profile that described target captures information;
S106, captures the profile of information and the current interface of touch-screen according to described target, obtains target and captures information.
In the present embodiment, can in target crawl information when each several part color-grading, realize target captures effective crawl of information.
Refer to Fig. 4, the invention provides in a kind of information extraction method and obtain the schematic flow sheet of target crawl information in another embodiment.In Fig. 4 in information extraction method, according to the histogram data of the current interface of described touch-screen and the gray scale at described target location coordinate place, obtain target crawl information and comprise:
S201, gets described target location coordinate as basic point, and the gray scale of getting described target location coordinate place is as with reference to gray scale;
S202, judges whether the described gray scale of each consecutive point of basic point surrounding and the gray scale difference value of described reference gray level are less than gray difference threshold; If be less than, then perform step S203; Otherwise, perform step S204;
S203, re-executes step S202 using these consecutive point as new basic point;
S204, captures a frontier point of information using described basic point as described target;
S205, draws according to frontier point described in each profile that described target captures information;
S206, captures the profile of information and the current interface of touch-screen according to described target, obtains target and captures information.
In the present embodiment, can when in target crawl information, each several part color difference to be little, realize target captures effective crawl of information.
Refer to Fig. 5, the invention provides a kind of information scratching and be installed on structural representation in an embodiment.In Fig. 5, information scratching device 1 comprises:
Data capture unit 11, under being in information scratching state at touch-screen, obtaining information captures the current interface of gesture and touch-screen;
Information scratching unit 12, is connected with described data capture unit 11, for the current interface according to described information scratching gesture and touch-screen, obtains target and captures information.
In the present embodiment, data capture unit 11 obtains the current interface of described touch-screen in the display buffer district of operating system bottom, thus does not impact the application program of the current display of the terminal comprising touch-screen.
In the present embodiment, by data capture unit 11 under touch-screen is in information scratching state, obtaining information captures the current interface of gesture and touch-screen; Then by the current interface of information scratching unit 12 according to described information scratching gesture and touch-screen, obtain target and capture information.Enable touch-screen all can be in information scratching state in arbitrary interface, and according to the current interface of described information scratching gesture and touch-screen, realize target capture the acquisition of information.
Refer to Fig. 6, the invention provides a kind of information scratching and be installed on structural representation in another embodiment.In Fig. 6, information scratching device 2 comprises:
Data capture unit 21, under being in information scratching state at touch-screen, obtaining information captures the current interface of gesture and touch-screen;
Information scratching unit 22, is connected with described data capture unit 21, for the current interface according to described information scratching gesture and touch-screen, obtains target and captures information.Described information scratching unit 22 comprises further:
Coordinate acquiring unit 221, is connected with described data capture unit 21, for obtaining the target location coordinate of described information scratching gesture in described touch-screen;
Data processing unit 223, is connected with described data capture unit 21 and coordinate acquiring unit 221, for converting the current interface of described touch-screen to histogram data, and determines the gray scale at described target location coordinate place;
Information process unit 224, is connected with described data processing unit 223, for the histogram data of the current interface according to described touch-screen and the gray scale at described target location coordinate place, obtains target and captures information.
In other embodiments, described information scratching unit 22 also can comprise object judgement unit 222, be connected with described data capture unit 21, coordinate acquiring unit 221 and data processing unit 223, whether consistent with the background image of the current interface of described touch-screen for judging image information corresponding with described information scratching gesture in the current interface of described touch-screen;
When described data capture unit 22 is consistent for the background image of the current interface of image information corresponding with described information scratching gesture in the current interface of described touch-screen and described touch-screen, obtaining information captures the current interface of gesture and touch-screen again;
When described coordinate acquiring unit 221 is inconsistent for the background image of the current interface of image information corresponding with described information scratching gesture in the current interface of described touch-screen and described touch-screen, obtain the target location coordinate of described information scratching gesture in described touch-screen.
Now, object judgement unit 222 can judge whether information scratching gesture that touch-screen obtains aims at the mark crawl information, thus improves target and capture the accuracy of information and capture efficiency.
In the present embodiment, described information scratching device 2 also can comprise:
Condition adjudgement unit 23, is connected with described data capture unit 21, for receive described touch-screen obtain touch gestures, and obtained touch gestures be information scratching preset gesture time, determine that described touch-screen is in information scratching state.Thus make touch-screen be converted to information scratching state according to the touch gestures that touch-screen obtains, simplify the complexity of State Transferring, improve the efficiency that target information captures.Touch-screen realize target when showing any application or interface is enable to capture the crawl of information.
Refer to Fig. 7, the invention provides the structural representation of information process unit in an embodiment in a kind of information scratching device.In Fig. 7 information scratching device, information process unit 300 comprises:
First basic point determining unit 301, is connected with described data processing unit, for getting described target location coordinate as basic point;
First dif ference judgment unit 302, is connected with described first basic point determining unit 301, for judging whether the gray scale difference value of the described gray scale of each consecutive point of basic point surrounding and the gray scale of described basic point is less than gray difference threshold; Described first basic point determining unit 301 also for when the gray scale difference value of the gray scale of basic point consecutive point and the gray scale of described basic point is less than gray difference threshold, using these consecutive point as new basic point;
First frontier point acquiring unit 303, be connected with described first dif ference judgment unit 302, for when the gray scale difference value of the gray scale of basic point consecutive point and the gray scale of described basic point is more than or equal to gray difference threshold, capture a frontier point of information using described basic point as described target;
First profile drawing unit 304, is connected with described first frontier point acquiring unit 303, captures the profile of information for drawing described target according to frontier point described in each;
First information extraction unit 305, is connected with described first profile drawing unit 304, for capturing the profile of information and the current interface of touch-screen according to described target, obtaining target and capturing information.
In the present embodiment, can in target crawl information when each several part color-grading, realize target captures effective crawl of information.
Refer to Fig. 8, the invention provides the structural representation of information process unit in an embodiment in a kind of information scratching device.In Fig. 8, information process unit 400 comprises:
Second basic point determining unit 401, is connected with described data processing unit, for getting described target location coordinate as basic point;
Second dif ference judgment unit 402, be connected with described second basic point determining unit 401, for getting the gray scale at described target location coordinate place as reference gray scale, and judge whether the described gray scale of each consecutive point of basic point surrounding and the gray scale difference value of described reference gray level are less than gray difference threshold; Described second basic point determining unit 401 also for when the gray scale of basic point consecutive point and the gray scale difference value of described reference gray level are less than gray difference threshold, using these consecutive point as new basic point;
The second boundary point acquiring unit 403, be connected with described second dif ference judgment unit 402, for when the gray scale of basic point consecutive point and the gray scale difference value of described reference gray level are more than or equal to gray difference threshold, capture a frontier point of information using described basic point as described target;
Second profile drawing unit 404, is connected with described the second boundary point acquiring unit 403, captures the profile of information for drawing described target according to frontier point described in each;
Second information extraction unit 405, is connected with described second profile drawing unit 404, for capturing the profile of information and the current interface of touch-screen according to described target, obtaining target and capturing information.
In the present embodiment, can when in target crawl information, each several part color difference to be little, realize target captures effective crawl of information.
In sum, information extraction method of the present invention and device, under touch-screen is in information scratching state, obtaining information captures the current interface of gesture and touch-screen; According to the current interface of described information scratching gesture and touch-screen, obtain target and capture information.Enable touch-screen all can be in information scratching state in arbitrary interface, and according to the current interface of described information scratching gesture and touch-screen, realize target capture the acquisition of information.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (12)

1. an information extraction method, is characterized in that, described information extraction method comprises the following steps:
Under touch-screen is in information scratching state, obtaining information captures the current interface of gesture and touch-screen;
According to the current interface of described information scratching gesture and touch-screen, obtain target and capture information.
2. information extraction method according to claim 1, is characterized in that: according to the current interface of described information scratching gesture and touch-screen, obtains target and captures information and comprise:
Obtain the target location coordinate of described information scratching gesture in described touch-screen;
Convert the current interface of described touch-screen to histogram data, and determine the gray scale at described target location coordinate place;
According to the histogram data of the current interface of described touch-screen and the gray scale at described target location coordinate place, obtain target and capture information.
3. information extraction method according to claim 2, is characterized in that: according to the histogram data of the current interface of described touch-screen and the gray scale at described target location coordinate place, obtains target crawl information and comprises:
S101, gets described target location coordinate as basic point;
S102, judges whether the gray scale difference value of the described gray scale of each consecutive point of basic point surrounding and the gray scale of described basic point is less than gray difference threshold; If be less than, then perform step S103; Otherwise, perform step S104;
S103, re-executes step S102 using these consecutive point as new basic point;
S104, captures a frontier point of information using described basic point as described target;
S105, draws according to frontier point described in each profile that described target captures information;
S106, captures the profile of information and the current interface of touch-screen according to described target, obtains target and captures information.
4. information extraction method according to claim 2, is characterized in that: according to the histogram data of the current interface of described touch-screen and the gray scale at described target location coordinate place, obtains target crawl information and comprises:
S201, gets described target location coordinate as basic point, and the gray scale of getting described target location coordinate place is as with reference to gray scale;
S202, judges whether the described gray scale of each consecutive point of basic point surrounding and the gray scale difference value of described reference gray level are less than gray difference threshold; If be less than, then perform step S203; Otherwise, perform step S204;
S203, re-executes step S202 using these consecutive point as new basic point;
S204, captures a frontier point of information using described basic point as described target;
S205, draws according to frontier point described in each profile that described target captures information;
S206, captures the profile of information and the current interface of touch-screen according to described target, obtains target and captures information.
5. according to described information extraction method arbitrary in claim 2 to 4, it is characterized in that: before obtaining the target location coordinate of described information scratching gesture in described touch-screen, also comprise:
Judge that whether image information corresponding with described information scratching gesture in the current interface of described touch-screen is consistent with the background image of the current interface of described touch-screen;
If so, then obtaining information captures the current interface of gesture and touch-screen again; Otherwise, obtain the target location coordinate of described information scratching gesture in described touch-screen.
6. information extraction method according to claim 1, is characterized in that: under touch-screen is in information scratching state, and obtaining information also comprises before capturing the current interface of gesture and touch-screen:
Described touch-screen obtains touch gestures;
Judge whether the touch gestures obtained is that information scratching presets gesture;
If so, described touch-screen is then made to be in information scratching state.
7. an information scratching device, is characterized in that, described information scratching device comprises:
Data capture unit, under being in information scratching state at touch-screen, obtaining information captures the current interface of gesture and touch-screen;
Information scratching unit, is connected with described data capture unit, for the current interface according to described information scratching gesture and touch-screen, obtains target and captures information.
8. information scratching device according to claim 7, is characterized in that: described information scratching unit comprises:
Coordinate acquiring unit, is connected with described data capture unit, for obtaining the target location coordinate of described information scratching gesture in described touch-screen;
Data processing unit, is connected with described data capture unit and coordinate acquiring unit, for converting the current interface of described touch-screen to histogram data, and determines the gray scale at described target location coordinate place;
Information process unit, is connected with described data processing unit, for the histogram data of the current interface according to described touch-screen and the gray scale at described target location coordinate place, obtains target and captures information.
9. information scratching device according to claim 8, is characterized in that: described information process unit comprises:
First basic point determining unit, is connected with described data processing unit, for getting described target location coordinate as basic point;
First dif ference judgment unit, is connected with described first basic point determining unit, for judging whether the gray scale difference value of the described gray scale of each consecutive point of basic point surrounding and the gray scale of described basic point is less than gray difference threshold; Described first basic point determining unit also for when the gray scale difference value of the gray scale of basic point consecutive point and the gray scale of described basic point is less than gray difference threshold, using these consecutive point as new basic point;
First frontier point acquiring unit, be connected with described first dif ference judgment unit, for when the gray scale difference value of the gray scale of basic point consecutive point and the gray scale of described basic point is more than or equal to gray difference threshold, capture a frontier point of information using described basic point as described target;
First profile drawing unit, is connected with described first frontier point acquiring unit, captures the profile of information for drawing described target according to frontier point described in each;
First information extraction unit, is connected with described first profile drawing unit, for capturing the profile of information and the current interface of touch-screen according to described target, obtaining target and capturing information.
10. information scratching device according to claim 8, is characterized in that: described information process unit comprises:
Second basic point determining unit, is connected with described data processing unit, for getting described target location coordinate as basic point;
Second dif ference judgment unit, be connected with described second basic point determining unit, for getting the gray scale at described target location coordinate place as reference gray scale, and judge whether the described gray scale of each consecutive point of basic point surrounding and the gray scale difference value of described reference gray level are less than gray difference threshold; Described second basic point determining unit also for when the gray scale of basic point consecutive point and the gray scale difference value of described reference gray level are less than gray difference threshold, using these consecutive point as new basic point;
The second boundary point acquiring unit, is connected with described second dif ference judgment unit, for when the gray scale of basic point consecutive point and the gray scale difference value of described reference gray level are more than or equal to gray difference threshold, captures a frontier point of information using described basic point as described target;
Second profile drawing unit, is connected with described the second boundary point acquiring unit, captures the profile of information for drawing described target according to frontier point described in each;
Second information extraction unit, is connected with described second profile drawing unit, for capturing the profile of information and the current interface of touch-screen according to described target, obtaining target and capturing information.
Information scratching device described in 11. according to Claim 8 to 10 are arbitrary, it is characterized in that, described information scratching device also comprises:
Whether object judgement unit, is connected with described data capture unit and coordinate acquiring unit, consistent with the background image of the current interface of described touch-screen for judging image information corresponding with described information scratching gesture in the current interface of described touch-screen;
Described data capture unit be used for the background image of the current interface of image information corresponding with described information scratching gesture in the current interface of described touch-screen and described touch-screen consistent time, the current interface of obtaining information crawl gesture and touch-screen again;
Described coordinate acquiring unit be used for the background image of the current interface of image information corresponding with described information scratching gesture in the current interface of described touch-screen and described touch-screen inconsistent time, obtain the target location coordinate of described information scratching gesture in described touch-screen.
12. information scratching devices according to claim 7, is characterized in that, described information scratching device also comprises:
Condition adjudgement unit, is connected with described data capture unit, for receive described touch-screen obtain touch gestures, and obtained touch gestures be information scratching preset gesture time, determine that described touch-screen is in information scratching state.
CN201510843931.2A 2015-11-26 2015-11-26 Information capturing method and apparatus Pending CN105487772A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510843931.2A CN105487772A (en) 2015-11-26 2015-11-26 Information capturing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510843931.2A CN105487772A (en) 2015-11-26 2015-11-26 Information capturing method and apparatus

Publications (1)

Publication Number Publication Date
CN105487772A true CN105487772A (en) 2016-04-13

Family

ID=55674783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510843931.2A Pending CN105487772A (en) 2015-11-26 2015-11-26 Information capturing method and apparatus

Country Status (1)

Country Link
CN (1) CN105487772A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100293460A1 (en) * 2009-05-14 2010-11-18 Budelli Joe G Text selection method and system based on gestures
CN103135914A (en) * 2011-11-28 2013-06-05 阿里巴巴集团控股有限公司 Screen capture method and screen capture device based on touch screen
CN103150735A (en) * 2013-03-26 2013-06-12 山东大学 Gray level difference averaging-based image edge detection method
CN103514448A (en) * 2013-10-24 2014-01-15 北京国基科技股份有限公司 Method and system for navicular identification
CN104834922A (en) * 2015-05-27 2015-08-12 电子科技大学 Hybrid neural network-based gesture recognition method
CN105068754A (en) * 2015-08-28 2015-11-18 硕诺科技(深圳)有限公司 Method for realizing gesture detection in any interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100293460A1 (en) * 2009-05-14 2010-11-18 Budelli Joe G Text selection method and system based on gestures
CN103135914A (en) * 2011-11-28 2013-06-05 阿里巴巴集团控股有限公司 Screen capture method and screen capture device based on touch screen
CN103150735A (en) * 2013-03-26 2013-06-12 山东大学 Gray level difference averaging-based image edge detection method
CN103514448A (en) * 2013-10-24 2014-01-15 北京国基科技股份有限公司 Method and system for navicular identification
CN104834922A (en) * 2015-05-27 2015-08-12 电子科技大学 Hybrid neural network-based gesture recognition method
CN105068754A (en) * 2015-08-28 2015-11-18 硕诺科技(深圳)有限公司 Method for realizing gesture detection in any interface

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
彭军波 等: "Adobe Photoshop 平面设计软件抠图的方法和技巧", 《成功(教育)》 *
彭革刚 等: "基于边界定位技术的半自动图像分割", 《电脑与信息技术》 *
王蒙 等: "基于边缘检测和自动种子区域生长的图像分割算法", 《西安邮电学院学报》 *
陆向京: "用Photoshop工具轻松玩抠图", 《卫生职业教育》 *

Similar Documents

Publication Publication Date Title
US20130207935A1 (en) Touch panel device
US9081450B1 (en) Identifying hover and/or palm input and rejecting spurious input for a touch panel
CN107741824B (en) Detection of gesture orientation on repositionable touch surface
CN102023735B (en) A kind of touch input device, electronic equipment and mobile phone
AU2017203910B2 (en) Glove touch detection
CN103294401A (en) Icon processing method and device for electronic instrument with touch screen
US20140267150A1 (en) Apparatus and method for detecting position
US20160196034A1 (en) Touchscreen Control Method and Terminal Device
CN108052234B (en) Touch identification method of touch screen
US20170108978A1 (en) Method of human-machine interaction by combining touch and contactless controls
CN104216597A (en) Touch detection method and system of resistive touch screen
CN104536643A (en) Icon dragging method and terminal
CN105224089A (en) Gesture operation method and device, mobile terminal
CN102662511A (en) Method and terminal for carrying out control operation through touch screen
US9971447B2 (en) Electronic apparatus and coordinates detection method
CN106886345A (en) Capacitive sensing device and method for detecting conductive foreign matters on same
CN104375630A (en) Public information terminal based on Kinect
CN103777830B (en) Touch screen and display device
CN103246397B (en) Touch control inducing method, touch-control sensing microprocessor and touch control liquid crystal display device
US20190361563A1 (en) Method for determining a force of a touch object on a touch device and for determining its related touch event
TW201409295A (en) Touch device and method of sampling touch points for touch panel
CN105487772A (en) Information capturing method and apparatus
CN203706185U (en) Touch screen and display device
CN105022483A (en) Kinect based public information terminal
CN104007850A (en) Signal processing method and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160413