CN102521521A - Method and device for identifying object - Google Patents
Method and device for identifying object Download PDFInfo
- Publication number
- CN102521521A CN102521521A CN2011104399233A CN201110439923A CN102521521A CN 102521521 A CN102521521 A CN 102521521A CN 2011104399233 A CN2011104399233 A CN 2011104399233A CN 201110439923 A CN201110439923 A CN 201110439923A CN 102521521 A CN102521521 A CN 102521521A
- Authority
- CN
- China
- Prior art keywords
- distance value
- material object
- electrical contact
- identified
- contact point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
The invention discloses a method and a device for identifying an object. The method is used for identifying the object which is arranged on a touch screen and waits for identification. The method includes: step 1, calculating distance value between any two points of electric contact points of the object to be identified and the touch screen; step 2, matching the distance value with object electric contact point distance value stored in a database; and step 3, identifying the object to be identified if matching is successful. The method and the device for identifying the object can identify the object conveniently and accurately.
Description
Technical field
The present invention relates to distinguishment technical field, particularly relate to a kind of recognition methods in kind and device.
Background technology
Usually, people discern material object by vision.But sometimes, can there be the situation that is difficult to even can not discerns material object through vision.For example, when children need open the door alone, can't confirm that which is tame door key in the bunch of keys; What littler child even can't know held in the hand is any object, is toy airplane or toy car on earth.Similar problem also can appear among visually impaired people or the blind person, even some people can realize identification through sense of touch, checks that under many circumstances the conclusion of having made also is necessary.
Recognition technology commonly used is RF identification (RFID, a Radio Frequency Identification) technology, discerns and needs on determinand in addition label and use this technology, and need the label allocation reader come reading tag to make identification.If use REID identification in kind, then need on material object in addition label and need the user hold label reader, the inconvenience that causes configuration and use.
Summary of the invention
In view of this, the invention provides recognition methods in kind accurately of a kind of convenience and device.
Be to realize above-mentioned purpose, embodiments of the invention provide a kind of recognition methods in kind, are used to discern the material object to be identified that places on the touch-screen, comprising: step S1: the distance value that calculates any point-to-point transmission in the electrical contact point of said material object to be identified and touch-screen; Step S2: with the electrical contact point distance value coupling of the material object of storing in said distance value and the database; Step S3:, then identify said material object to be identified if mate successfully.
Preferably, among the said step S2, the electrical contact point distance value of the material object of storing in the database sorts by size.
Preferably, comprise step S1A after the said step S1: said distance value is sorted by size.
Preferably, said step S2 specifically comprises: step S21: the similarity of calculating the electrical contact point distance value of the material object of storing in said distance value and the database; Step S22: judge whether said similarity is higher than the threshold value of regulation,, then mate successfully if be higher than this threshold value.
Preferably, among the said step S21, said similarity is calculated through cosine angle formula.
Embodiments of the invention also provide a kind of recognition device in kind; It is characterized in that; Be used to discern the material object to be identified that places on the touch-screen, comprise: metrics calculation unit, the electrical contact point that is used for calculating said material object to be identified and touch-screen is the distance value of point-to-point transmission arbitrarily; Matching unit, the electrical contact point distance value coupling of the material object that is used for said distance value and database are stored if the match is successful, then identifies said material object to be identified.
Preferably, said recognition device in kind also comprises: sequencing unit is used for the distance value of electrical contact point is sorted by size.
Preferably, said matching unit specifically comprises: similarity calculation module is used for calculating the similarity of the electrical contact point distance value of the material object that said distance value and database store; Comparison module is used to judge whether said similarity is higher than the threshold value of regulation, if be higher than this threshold value, then matees successfully.
Preferably, said similarity calculation module is calculated similarity through cosine angle formula.
Can know by technique scheme; The present invention has following beneficial effect: the present invention is mated with the distance between each electrical contact point of material object; Even the position that position of when to be identified, on touch-screen, placing in kind and angle are placed on touch-screen during the forward data library storage with it is different with angle,, also can exactly it be identified owing to the distance between these electrical contact points is identical; Therefore, embodiments of the invention can be realized identification in kind exactly.And; Because the present invention utilizes touch-screen to make identification in kind; And all have touch-screen on the devices such as our entrained mobile phone, PDA (personal digital assistant), GPS (GPS) or MP3 usually, therefore, can utilize these devices to make identification in kind easily; Need not to carry separately recognition device, bring great convenience to the user.
With reference to the accompanying drawing description of a preferred embodiment, above-mentioned and other purpose of the present invention, feature and advantage will be more obvious through following.
Description of drawings
Fig. 1 is the process flow diagram of the recognition methods in kind that provides according to one embodiment of the invention;
Fig. 2 is the sketch map based on the electrical contact point on the material object of an embodiment;
Fig. 3 is the process flow diagram according to the distance value matching process of an embodiment;
Fig. 4 is the block diagram of the recognition device in kind that provides according to one embodiment of the invention.
Embodiment
To describe specific embodiment of the present invention in detail below.Should be noted that the embodiments described herein only is used to illustrate, be not limited to the present invention.And in following explanation, different " embodiment " or " embodiment " refer to is not necessarily same embodiment.In addition, special characteristic, structure or the characteristics among one or more embodiment can be by any suitable form combination.
Recognition methods in kind in the embodiment of the invention realizes identification through material object to be identified is placed on the touch-screen.Here, touch-screen can be the touch-screen of types such as condenser type or resistance-type, and can have the various ways that can realize the multi-point touch function, comprises screen-type touch-screen, Table top type touch-screen, wall type touch-screen or Trackpad etc.And, the material object to be identified in the present embodiment be provided with at least one can and touch-screen between produce the electrical contact point of electric signal.
See also shown in Figure 1, the process flow diagram of the recognition methods in kind that it provides for one embodiment of the invention, this method comprises:
Step S1: calculate in the electrical contact point of material object to be identified and touch-screen the distance value of point-to-point transmission arbitrarily;
When placing material object to be identified on the touch-screen, the electrical contact point on the material object to be identified can contact with touch-screen, and touch-screen just can be known the coordinate of each electrical contact point, just can calculate the distance value of taking the post as point-to-point transmission according to the coordinate of each electrical contact point.
Particularly, if bottom in kind to be identified has N electrically contact point, then need the calculated distance number to do
For example, electrically the coordinate of contact point A and B be respectively A (X1, Y1), B (X2, Y2), then the distance value between A and the B is:
For example, as shown in Figure 2, certain bottom in kind has 5 electrical contact points (being called for short Point) A1, A2, A3, A4 and A5; The coordinate of these 5 points that touch-screen extracts is respectively A1 (10,5), A2 (60,8), A3 (12; 20), A4 (50,20) and A5 (30,50); What then calculate is 10 apart from number, and the distance between wherein wantonly 2 (being called for short Dis) is:
Dis12=Distance(Point(A1),Point(A2));
Dis13=Distance(Point(A1),Point(A3));
Dis14=Distance(Point(A1),Point(A4));
Dis15=Distance(Point(A1),Point(A5));
Dis23=Distance(Point(A2),Point(A3));
Dis24=Distance(Point(A2),Point(A4));
Dis25=Distance(Point(A2),Point(A5));
Dis34=Distance(Point(A3),Point(A4));
Dis35=Distance(Point(A3),Point(A5));
Dis45=Distance(Point(A4),Point(A5))。
Can above 10 distance values be formed distance feature vector [Dis12, Dis13, Dis14 as 10 distance feature respectively ... Dis45].
Step S2: with the electrical contact point distance value coupling of the material object of storing in said distance value and the database;
Store the distance value between each any two electrical contact point in kind in the database; Each distance value in kind can place on the touch-screen through each material object that will have electrical contact point respectively; Know the coordinate of each electrical contact point in kind on it by touch-screen, and then calculate the distance value of appointing point-to-point transmission in each electrical contact point in kind.
In database, each each distance value in kind can be represented through the distance feature vector as distance feature, uses during for coupling.For example, in kind 1 and in kind 2 distance feature vector is respectively in database:
In kind 1: [Dis12 ... Dis1n ... Dis (n-1) n]
In kind 2: [Dis12 ... Dis1n ... Dis (n-1) n].
Preferably, each distance feature is vectorial to constitute distance feature by series arrangement from small to large, and aligning method for example uses the bubbling method.
In the present embodiment, touch-screen can be the touch-screen on the devices such as mobile phone, PDA (personal digital assistant), GPS (GPS), MP3 or panel computer.Database can be located on the device with touch-screen, like this, and just can be with the distance value coupling of the material object of storing in each distance value of material object to be identified and the database; Alternatively, database also can be located at the wired or wireless server that is connected of the device with touch-screen on so that database is made renewal at server end.
Step S3:, then identify said material object to be identified if the match is successful.
In an embodiment of the present invention; Be to mate with the distance between each electrical contact point of material object; Even the position that position of when to be identified, on touch-screen, placing in kind and angle are placed on touch-screen during the forward data library storage with it is different with angle,, also can exactly it be identified owing to the distance between these electrical contact points is identical; Therefore, embodiments of the invention can be realized identification in kind exactly.And; Because the present invention utilizes touch-screen to make identification in kind; And all have touch-screen on the devices such as our entrained mobile phone, PDA (personal digital assistant), GPS (GPS) or MP3 usually, therefore, can utilize these devices to make identification in kind easily; Need not to carry separately recognition device, bring great convenience to the user.
Preferably, comprise step S1A after the step S1: said distance value is sorted by size.
In one embodiment, use the bubble sort method that each distance feature of material object to be identified is vectorial to constitute distance feature by rank order from small to large.
After distance feature in the distance feature vector of the material object that the distance feature in the distance feature vector of material object to be identified and database are stored is all arranged with size order, the coupling of can being more convenient for.
See also shown in Figure 3ly, preferably, step S2 specifically comprises:
Step S21: the similarity of calculating the electrical contact point distance value of the material object of storing in said distance value and the database;
In one embodiment, similarity is calculated through cosine angle formula.If calculate the similarity between the C in kind in B in kind to be identified and the database, then concrete formula is:
Wherein, b
kBe the distance feature in the distance feature vector of B in kind to be identified; c
kBe the distance feature in the distance feature vector of the C in kind in the database; N is the quantity of distance feature;
If adopt above-mentioned cosine angle formula to calculate similarity, the value that then calculates is in [0,1] interval, with 1 approaching more, then similar more.
For avoiding little value deviation, can set a threshold value, and execution in step S22: judge whether said similarity is higher than the threshold value of regulation, if be higher than this threshold value, then the match is successful.
Corresponding with said method, the present invention also provides a kind of recognition device in kind.
See also shown in Figure 4; In the present embodiment, a kind of recognition device in kind is used to discern the material object to be identified that places on the touch-screen; Comprise: metrics calculation unit 41, the electrical contact point that is used for calculating said material object to be identified and touch-screen is the distance value of point-to-point transmission arbitrarily; Matching unit 43, the electrical contact point distance value coupling of the material object that is used for said distance value and database are stored if the match is successful, then identifies said material object to be identified.
Preferably, recognition device in kind also comprises: sequencing unit 42 is used for the distance value of electrical contact point is sorted by size.Specifically, this sequencing unit 42 both can sort by size the electrical contact point distance value of the material object of storing in the database, can distance value between the electrical contact point of material object to be identified be sorted by size again.
Preferably, matching unit 43 specifically comprises: similarity calculation module 431 is used for calculating the similarity of the electrical contact point distance value of the material object that said distance value and database store; Comparison module 432 is used to judge whether said similarity is higher than the threshold value of regulation, if be higher than this threshold value, then matees successfully.
Wherein, said similarity calculation module is calculated similarity through cosine angle formula.Particularly, if calculate the similarity between the C in kind in B in kind to be identified and the database, then concrete formula is:
Wherein, b
kBe the distance feature in the distance feature vector of B in kind to be identified; c
kBe the distance feature in the distance feature vector of the C in kind in the database; N is the quantity of distance feature;
Concrete realization details for recognition device in kind can repeat no more at this referring to the specific descriptions of method embodiment.
In an embodiment of the present invention; Be to mate with the distance between each electrical contact point of material object; Even the position that position of when to be identified, on touch-screen, placing in kind and angle are placed on touch-screen during the forward data library storage with it is different with angle,, also can exactly it be identified owing to the distance between these electrical contact points is identical; Therefore, embodiments of the invention can be realized identification in kind exactly.And; Because the present invention utilizes touch-screen to make identification in kind; And all have touch-screen on the devices such as our entrained mobile phone, PDA (personal digital assistant), GPS (GPS) or MP3 usually, therefore, can utilize these devices to make identification in kind easily; Need not to carry separately recognition device, bring great convenience to the user.
Though described the present invention with reference to several exemplary embodiments, should be appreciated that used term is explanation and exemplary and nonrestrictive term.Because the present invention's practical implementation and do not break away from the spirit or the essence of invention in a variety of forms; So be to be understood that; The foregoing description is not limited to any aforesaid details; And should in enclose spirit that claim limited and scope, explain widely, therefore fall into whole variations and remodeling in claim or its equivalent scope and all should be the claim of enclosing and contain.
Claims (9)
1. a recognition methods in kind is characterized in that, is used to discern the material object to be identified that places on the touch-screen, comprising:
Step S1: calculate in the electrical contact point of said material object to be identified and touch-screen the distance value of point-to-point transmission arbitrarily;
Step S2: with the electrical contact point distance value coupling of the material object of storing in said distance value and the database;
Step S3:, then identify said material object to be identified if the match is successful.
2. recognition methods in kind according to claim 1 is characterized in that, among the said step S2, the electrical contact point distance value of the material object of storing in the database sorts by size.
3. recognition methods in kind according to claim 2 is characterized in that, comprises step S1A after the said step S1: said distance value is sorted by size.
4. recognition methods in kind according to claim 1 is characterized in that, said step S2 specifically comprises:
Step S21: the similarity of calculating the electrical contact point distance value of the material object of storing in said distance value and the database;
Step S22: judge whether said similarity is higher than the threshold value of regulation,, then mate successfully if be higher than this threshold value.
5. recognition methods in kind according to claim 4 is characterized in that, among the said step S21, said similarity is calculated through cosine angle formula.
6. a recognition device in kind is characterized in that, is used to discern the material object to be identified that places on the touch-screen, comprising:
Metrics calculation unit, the electrical contact point that is used for calculating said material object to be identified and touch-screen is the distance value of point-to-point transmission arbitrarily;
Matching unit, the electrical contact point distance value coupling of the material object that is used for said distance value and database are stored if the match is successful, then identifies said material object to be identified.
7. recognition device in kind according to claim 6 is characterized in that, said recognition device in kind also comprises:
Sequencing unit is used for the distance value of electrical contact point is sorted by size.
8. recognition device in kind according to claim 6 is characterized in that, said matching unit specifically comprises:
Similarity calculation module is used for calculating the similarity of the electrical contact point distance value of the material object that said distance value and database store;
Comparison module is used to judge whether said similarity is higher than the threshold value of regulation, if be higher than this threshold value, then the match is successful.
9. recognition device in kind according to claim 8 is characterized in that, said similarity calculation module is calculated similarity through cosine angle formula.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104399233A CN102521521A (en) | 2011-12-23 | 2011-12-23 | Method and device for identifying object |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011104399233A CN102521521A (en) | 2011-12-23 | 2011-12-23 | Method and device for identifying object |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102521521A true CN102521521A (en) | 2012-06-27 |
Family
ID=46292432
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011104399233A Pending CN102521521A (en) | 2011-12-23 | 2011-12-23 | Method and device for identifying object |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102521521A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103941990A (en) * | 2013-01-21 | 2014-07-23 | 联想(北京)有限公司 | Information processing method and electronic device |
CN112076440A (en) * | 2020-09-11 | 2020-12-15 | 广州晓康医疗科技有限公司 | Double-person interactive upper limb rehabilitation system based on recognition screen and training method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101893960A (en) * | 2010-06-28 | 2010-11-24 | 北京捷通华声语音技术有限公司 | Direction vector-based character recognition method and device |
CN101901348A (en) * | 2010-06-29 | 2010-12-01 | 北京捷通华声语音技术有限公司 | Normalization based handwriting identifying method and identifying device |
CN102231092A (en) * | 2011-05-18 | 2011-11-02 | 广东威创视讯科技股份有限公司 | Multi-touch tracking and identifying method and system |
-
2011
- 2011-12-23 CN CN2011104399233A patent/CN102521521A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101893960A (en) * | 2010-06-28 | 2010-11-24 | 北京捷通华声语音技术有限公司 | Direction vector-based character recognition method and device |
CN101901348A (en) * | 2010-06-29 | 2010-12-01 | 北京捷通华声语音技术有限公司 | Normalization based handwriting identifying method and identifying device |
CN102231092A (en) * | 2011-05-18 | 2011-11-02 | 广东威创视讯科技股份有限公司 | Multi-touch tracking and identifying method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103941990A (en) * | 2013-01-21 | 2014-07-23 | 联想(北京)有限公司 | Information processing method and electronic device |
CN103941990B (en) * | 2013-01-21 | 2017-12-29 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN112076440A (en) * | 2020-09-11 | 2020-12-15 | 广州晓康医疗科技有限公司 | Double-person interactive upper limb rehabilitation system based on recognition screen and training method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103488329B (en) | Method and apparatus for the touch input of control terminal | |
CN101882000B (en) | Gesture identification method based on acceleration sensor | |
CN103218065B (en) | Handwriting input device capable of automatically changing stroke type | |
US20060126935A1 (en) | Method and system for identifying multiple questionnaire pages | |
CN103064626A (en) | Touch screen terminal and method for achieving check function thereof | |
CN205302747U (en) | Braille conversion appearance | |
CN203909801U (en) | Portable electronic device | |
CN102981624A (en) | Three-dimensional gesture input method and device | |
CN105302849A (en) | Annotation display assistance device and method of assisting annotation display | |
CN104657638A (en) | Motion-characteristic-based mobile phone unlocking method | |
CN103049115B (en) | Handwriting input device for recording motion gesture of handwriting pen | |
CN102768732B (en) | Face recognition method integrating sparse preserving mapping and multi-class property Bagging | |
CN105630813A (en) | Keyword recommendation method and system based on user-defined template | |
CN108701215A (en) | The system and method for multipair image structures for identification | |
CN109002803A (en) | A kind of pen holding posture detection and Chinese characters' order of strokes recognition method based on smartwatch | |
CN104571521A (en) | Device and method of handwritten record | |
CN102521521A (en) | Method and device for identifying object | |
CN103544422A (en) | Intelligent screen display terminal with function of fingerprint identification | |
CN105320390A (en) | Double handwriting recognition method and device based on electromagnetic white plate and electromagnetic pens | |
CN103576860B (en) | A kind of electronic label recognition method based on 3D exercise attitudes and device | |
CN203424482U (en) | Multifunctional GPRS positioning luggage | |
CN103618958A (en) | Method and device for inputting text information to television | |
CN101620504B (en) | Method and device for identifying vectoring track in office suite | |
CN104915627B (en) | A kind of character recognition method and device | |
CN111194004B (en) | Base station fingerprint positioning method, device and system and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120627 |