CN104680152B - A kind of cylinder brand recognition method and device - Google Patents
A kind of cylinder brand recognition method and device Download PDFInfo
- Publication number
- CN104680152B CN104680152B CN201510109367.1A CN201510109367A CN104680152B CN 104680152 B CN104680152 B CN 104680152B CN 201510109367 A CN201510109367 A CN 201510109367A CN 104680152 B CN104680152 B CN 104680152B
- Authority
- CN
- China
- Prior art keywords
- cylinder
- trademark image
- trade mark
- plane
- dimensional imaging
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Image Analysis (AREA)
Abstract
The invention discloses a kind of cylinder brand recognition method and device, it comprises the following steps:Input the cylinder trademark image photographed;The cylinder trademark image is flattened into plane trademark image;And matched the trade mark in the plane trademark image with the standard flat figure of trade mark in database, to obtain the identity of corresponding commodity.Present invention efficiently solves user's shooting from different perspectives to know problem with the mistake of complicated font situation, while also eliminates conventional method and require that user can only the closely positive limitation for shooting trade mark.
Description
Technical field
The present invention relates to brand recognition technical field, more particularly to a kind of cylinder brand recognition method and device.
Background technology
User plane is to the cylindrical commodity interested to oneself, by taking red wine as an example, it is desirable to is shot by mobile phone comprising business
Mark the commodity photo of part and judge the identity (brand and model) of commodity exactly using image search method, be then somebody's turn to do
The related information of money commodity.The demand of What You See Is What You Get is realized by the search based on image, this is current mobile Internet
Epoch and user it is closely related most have the problem of application value and market potential, and there is an urgent need to the technology solved as early as possible to ask
Topic.
At present, the existing search technique for solving this aspect demand mainly uses OCR (Optical Character
Recognition, optical character identification) technology, such as domestic opinion wine, the announced APP of wine clickly team
(Application, application program), it is to discuss the text information put on face to face by extraction column, then is searched by database,
To obtain relevant information corresponding to the trade mark.
OCR technique has developed into ripe, can effectively detect common language and symbol in plane body image, still, for
, then there is the defects of more serious in word and symbol in cylinder trademark image, especially art body word, it is difficult to complete user and exist
The identification of the column-shape showering trade mark Chinese character number shot under various true environments.For example, shoot cylinder trade mark or chance from non-frontal
To the art body word of complexity, simple OCR technique is can not to obtain complete trade mark text information, therefore as a rule
Correct search result can not be just obtained, so as to result in this method discrimination is relatively low in retrieval the shortcomings that.
It is desirable to have a kind of technical scheme come one or more in the drawbacks described above that overcomes or at least mitigate prior art
It is individual.
The content of the invention
Term is explained
Cylinder is that straight line determines oriented parallel along one and moves formed curved surface.
It is an object of the invention to provide a kind of one come in the drawbacks described above that overcomes or at least mitigate prior art or
Multiple cylinder brand recognition method and devices, it can solve prior art to the word and Symbol recognition in cylinder trademark image
The problem of rate is relatively low.
To achieve the above object, the present invention provides a kind of cylinder brand recognition method, and it comprises the following steps:Input shooting
The cylinder trademark image arrived;The cylinder trademark image is flattened into plane trademark image;And by the plane trademark image
In trade mark matched with the standard flat figure of trade mark in database, to obtain the identity of corresponding commodity.
Further, the cylinder trademark image flattening specifically includes into the plane trademark image:Establish coordinate system:Will
The carrier of the cylinder trade mark is simplified to the cylinder of rule, using the center of the cylinder as the origin of coordinates, establishes three-dimensional coordinate
System;Two-dimensional imaging coordinate system is established on the normal plane of sight;Pixel on the cylinder trademark image photographed is corresponded to
In the two-dimensional imaging coordinate system;Pixel in the two-dimensional imaging space is further corresponded into the three-dimensional system of coordinate
In, and the cylinder in the three-dimensional system of coordinate is laterally paved, obtain the plane trademark image.
Further, it is described establish coordinate system after, in addition to:Four borders are positioned in the cylinder trademark image
Key point, to calculate shooting point position, and determine the pixel on the cylinder trademark image to the two-dimensional imaging coordinate system
Corresponding relation.
Further, the positioning of the border key point specifically includes:Detect the cylinder in the cylinder trademark image
The straight border of the left and right sides, two key points are then respectively chosen on the left bounding lines, to cause each key point
Positioned in two circular cross-sections of cylinder.
Further, based on the relative position between the two-dimensional imaging coordinate system and the shooting point calculated, really
Corresponding relation of the pixel to the three-dimensional system of coordinate in the fixed two-dimensional imaging coordinate system.
Further, the matching of the trade mark and the trade mark standard flat figure in the plane trademark image specifically includes:
Roughing:The word or symbolic information in the plane trademark image are extracted, and finds corresponding candidate quotient in the database
Mark;Thin choosing:The characteristic point of the plane trademark image is detected, and matched with candidate's trade mark, finally by spy
The most standard label of Point matching is levied as trade mark corresponding to the commodity.
Due to the present invention photographed by that will input comprising the flattening of cylinder trademark image into plane trademark image, Ran Houtong
Cross and matched the trade mark in the plane trademark image with the trade mark standard flat figure in database, it is this to obtain corresponding business
The accuracy rate of the mode of product identity is higher compared to prior art, also efficiently solves user's shooting from different perspectives and multiple
The mistake of miscellaneous font situation knows problem, at the same also eliminate conventional method require user can only closely front shooting trade mark limit
System.
The present invention also provides a kind of cylinder brand recognition device, and it includes:Input block, for inputting the cylinder photographed
Trademark image;Unit is flattened, for the cylinder trademark image to be flattened into plane trademark image;And matching unit, it is used for
Trade mark in the plane trademark image is matched with the standard flat figure of trade mark in database, to obtain corresponding commodity
Identity.
Further, the flattening unit includes:Coordinate system subelement is built, for the carrier of the cylinder trade mark to be simplified
Into the cylinder of rule, using the center of the cylinder as the origin of coordinates, three-dimensional system of coordinate is established, then on the normal plane of sight
Establish two-dimensional imaging coordinate system;First corresponding subelement, for the pixel on the cylinder photographed trademark image to be corresponded to
In the two-dimensional imaging coordinate system;Second corresponding subelement, for the pixel in the two-dimensional imaging space is further right
Then the cylinder in the three dimensions should laterally be paved into the three-dimensional system of coordinate, obtain the plane trade mark
Image.
Further, the flattening unit also includes:Locator unit, for positioning four in the cylinder trademark image
Individual border key point;Computation subunit, for according to each border key point, calculating shooting point position, and determine the post
Discuss the pixel in logo image face to face and be input to described first pair to the corresponding relation of the two-dimensional imaging coordinate system, the corresponding relation
Answer subelement.
Further, positioning of the locator unit to each border key point specifically includes:Detect the cylinder
The straight border at left and right sides of cylinder in trademark image, two key points are then respectively chosen on the left bounding lines,
To cause each key point in two circular cross-sections in cylinder.
Further, the computation subunit be additionally operable to based on the two-dimensional imaging coordinate system and the shooting point that is calculated it
Between relative position, to determine that for pixel to the corresponding relation of the three-dimensional system of coordinate, this is right in the two-dimensional imaging coordinate system
It should be related to and be input to the described second corresponding subelement.
Further, the matching unit also includes:Roughing subelement, for extracting the text in the plane trademark image
Word or symbolic information, and corresponding candidate's trade mark is found in the database;With carefully select subelement, for the plane business
Characteristic point in logo image is detected, and is matched with candidate's trade mark, finally by Feature Points Matching at most described in
Standard label is as trade mark corresponding to the commodity.
Brief description of the drawings
Fig. 1 is the cylinder model established in cylinder brand recognition method provided by the present invention;
Fig. 2 is the schematic diagram that the present invention is positioned by taking red wine bottle as an example to the border key point of cylinder trade mark carrier;
Fig. 3 is the schematic flow sheet of cylinder brand recognition method provided by the present invention;
Fig. 4 is the principle schematic diagram of the embodiment of cylinder brand recognition device one provided by the present invention;
Fig. 5 is the principle schematic diagram that the embodiment of unit one is flattened in Fig. 4;
Fig. 6 is the principle schematic diagram of the embodiment of matching unit one in Fig. 4.
Embodiment
To make the purpose, technical scheme and advantage that the present invention is implemented clearer, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is further described in more detail.In the accompanying drawings, identical from beginning to end or class
As label represent same or similar element or the element with same or like function.Described embodiment is the present invention
Part of the embodiment, rather than whole embodiments.The embodiments described below with reference to the accompanying drawings are exemplary, it is intended to uses
It is of the invention in explaining, and be not considered as limiting the invention.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.Under
Embodiments of the invention are described in detail with reference to accompanying drawing for face.
In the description of the invention, it is to be understood that term " " center ", " longitudinal direction ", " transverse direction ", "front", "rear",
The orientation or position relationship of the instruction such as "left", "right", " vertical ", " level ", " top ", " bottom " " interior ", " outer " is based on accompanying drawing institutes
The orientation or position relationship shown, it is for only for ease of the description present invention and simplifies description, rather than instruction or the dress for implying meaning
Put or element there must be specific orientation, with specific azimuth configuration and operation, therefore it is not intended that the present invention is protected
The limitation of scope.
Cylinder brand recognition method provided by the present invention comprises the following steps:
Step 1, as shown in Fig. 3 a, the cylinder trademark image photographed is inputted.
Step 2, as shown in Fig. 3 b to c, the cylinder trademark image is flattened into plane trademark image.
Step 3, as shown in Fig. 3 d to e, by the standard of trade mark in the trade mark and database in the plane trademark image
Plan is matched, to obtain the identity of corresponding commodity.Wherein, the identity of commodity includes the information such as the brand of commodity, model.
Flattened by the way that the cylinder trademark image that includes photographed will be inputted into plane trademark image, then by that described will put down
The trade mark discussed face to face in logo image is matched with the standard label in database, the standard of this mode for obtaining corresponding commodity identity
True rate is higher compared to prior art, also efficiently solves the shooting of user from different perspectives and the mistake of complicated font situation is known
Problem, while also eliminate conventional method and require that user can only the closely positive limitation for shooting trade mark.
Above-mentioned steps 2 specifically include:
Step 21, coordinate system is established:The actual vector of the cylinder trade mark is simplified to the cylinder of rule, with the cylinder
The center of body is the origin of coordinates, establishes three-dimensional system of coordinate, then on the normal plane of sight (cylinder and the line of shooting point)
Establish two-dimensional imaging coordinate system.
Three-dimensional system of coordinate is established as follows:
As shown in figure 1, Fig. 1 is illustrated that the actual vector for being simplified as cylinder.In figure, O points are in the cylinder
The heart, the origin of coordinates using O points as three-dimensional system of coordinate, the axial line of cylinder areEstablish three-dimensional system of coordinate as depicted
OXYZ.Note shooting point is V, thenNormal plane be sight normal plane.Using S points as origin, and takePut down parallel to OXY
Face,WithIt is coplanar, then obtain two-dimensional imaging coordinate system SEF.
Further, described shooting point V position, can be pushed away by four border key points on cylinder trademark image
Calculate.Specifically, four borders key point A, B, C, D as shown in Figure 2, according toWith | | AB | |/| | AC
| | it can extrapolate shooting point V particular location in photo space and the identity relation in two-dimensional imaging space.More than
It is space where " the cylinder trademark image " corresponding to " photo space ";It is " two-dimensional imaging corresponding to " two-dimensional imaging space "
Space where coordinate system ".
Step 22, the pixel on the cylinder trademark image is corresponded in two-dimensional imaging coordinate system SEF.It is specific next
Say, using corresponding relation of the four border key points (wherein three) in photo space and two-dimensional imaging space, according to imitative
Penetrate conversion, you can correspond to any one pixel in cylinder trademark image in two-dimensional imaging coordinate system.
Further, the localization method of the border key point is:The cylinder detected in the cylinder trademark image is left
The straight border of right both sides, two key points are then respectively chosen on described left bounding lines so that they are in cylinder
Two circular cross-sections on.It is specifically included:
All marginal points in detection image, for example the operator such as canny or sobel or Roberts or Prewitt can be real
Existing rim detection;Then using Hough transformation detection of straight lines (shown in such as Fig. 3 (b)), the cylinder trademark image middle column body is found
Left and right side edge;
As shown in Fig. 2 by taking red wine bottle as an example, it is each to determine two key points (as schemed on two linear edges detected
A, C and B in 2, D) so that ABCD is an isosceles trapezoid, now,It is parallel to each other, such A, B are in same circle
On tee section, in another circular cross-section, thus obtained A, B, C, D can be used as four border key points by C, D.
It should be noted that the position letter of positioning four borders key point A, B, C, D, i.e. four points in photo space
Cease for determination value.Simultaneously as border key point A, B, C, D are boundary point, therefore, these seats in two-dimensional imaging space
Scale value can also calculate according to priori.Therefore with reference to border key point A, B, C, D in photo space and two-dimensional imaging
The positional information in space, can be to obtain the corresponding relation in photo space and two-dimensional imaging space by known computational methods.
Step 23, the pixel in two-dimensional imaging space is further corresponded in the three-dimensional system of coordinate, then by institute
The cylinder stated in three dimensions is laterally paved, that is, obtains described plane trademark image.
Two-dimensional imaging space is explained in detail below to the determination method of the corresponding relation of three-dimensional system of coordinate.
In order to make it easy to understand, each point is introduced in the three-dimensional system of coordinate OXYZ first in the two-dimensional imaging coordinate system SEF
In perspective projection:By taking any point P on the cylinder trademark image as an example, according to perspective projection, sightWith plane SEF
Intersection point Q be P imaging point.In order to finally give relative positions of the point Q on the cylinder trademark image, it is necessary to will point Q
Coordinate value be transformed into the two-dimensional imaging coordinate system, obtain coordinate values of the point Q in the two-dimensional imaging coordinate system.Specifically
Method is as follows:
In three-dimensional system of coordinate OXYZ, note point S coordinate is (sx, sy, sz),The unit vector in direction point
It is notPoint Q coordinate is (qx, qy, qz).Coordinates of the postulated point Q in coordinate system SEFV is (qe, qf, qv), then just like
Lower relational expression:
Q is solved according to above formulae, qf(because point Q is in SEF planes, so qv=0), then (qe, qf) be point Q described
Coordinate value in two-dimensional imaging coordinate system SEF.
After the principle for describing perspective projection, the corresponding relation in two-dimensional imaging space to three dimensions also determines therewith,
The as reverse process of perspective projection.In particular it is necessary to the coordinate value according to imaging point Q in two-dimensional imaging coordinate system SEF,
Reversely release coordinate value of the corresponding P points in three-dimensional system of coordinate.Also namely based on the two-dimensional imaging coordinate system and institute
Relative position between the shooting point of reckoning, it may be determined that pixel is to the three-dimensional system of coordinate in the two-dimensional imaging coordinate system
Corresponding relation." relative position " herein refer to the distance between two-dimensional imaging coordinate system and shooting point for being calculated and
Relative direction.
In above-described embodiment, step 3 specifically includes:
Step 31, roughing:The word or symbolic information in the plane trademark image are extracted, is found in the database
Corresponding candidate's trade mark, such as:Candidate's trade mark is obtained by OCR technique.
Step 32, thin choosing:Characteristic point in the plane trademark image is detected, and carried out with candidate's trade mark
Matching, finally using the most standard label of Feature Points Matching as trade mark corresponding to the commodity, such as SIFT algorithms,
PCA-SIFT algorithms, SURF algorithm etc. can carry out feature point detection.
After cylinder trade mark is converted by flattening, related text information is extracted by OCR technique, range of search is reduced and simultaneously looks for
Matched to candidate's trade mark, then by SIFT algorithms with the standard label figure in candidate data storehouse, matching can be greatly improved
With the precision of identification.Meanwhile the program also efficiently solves the difficulty of data acquisition, each commodity, it is only necessary to which a width is put down
Discuss mark standard drawing face to face.
It should be noted that before the actual vector of the cylinder trade mark is positioned, can also be to the cylinder trademark image
As being pre-processed, such as:Cylinder trademark image is included described in compression, is such as compressed to 60KB sizes;Utilize Gaussian filter pair
Image after compression is filtered processing, or carries out smoothing denoising to image with other wave filters.
As shown in figure 4, the present invention also provides a kind of cylinder brand recognition device, it includes input block 1, flattening unit 2
With matching unit 3, wherein:Input block 1 is used to input the cylinder trademark image photographed (as shown in Fig. 3 a);Flatten unit
2 are used to flatten the cylinder trademark image into plane trademark image (as shown in Fig. 3 b to c);Matching unit 3 is used for institute
The trade mark stated in plane trademark image is matched with the standard label in database, to obtain identity (such as Fig. 3 of corresponding commodity
D to e shown in).
In above-described embodiment, as shown in figure 5, flattening unit 2 includes building the corresponding subelement 24 of coordinate system subelement 21, first
Subelement 25 is corresponded to second, wherein:
The cylinder that coordinate system subelement 21 is used to for the actual vector of the cylinder trade mark to be simplified to rule is built, with the circle
The center of cylinder is the origin of coordinates, establishes three-dimensional system of coordinate, then in the normal plane of sight (cylinder and the line of shooting point)
On establish two-dimensional imaging coordinate system.It is specific as follows:
As shown in figure 1, Fig. 1 is illustrated that the actual vector for being simplified as cylinder.In figure, O points are in the cylinder
The heart, the origin of coordinates using O points as three-dimensional system of coordinate, the axial line of cylinder areEstablish three-dimensional system of coordinate as depicted
OXYZ.Note shooting point is V, thenNormal plane be imaging plane.Using S points as origin, and takeParallel to OXY planes,WithIt is coplanar, then obtain two-dimensional imaging coordinate system SEF.
Further, described shooting point V position, can be pushed away by four border key points on cylinder trademark image
Calculate.Specifically, four borders key point A, B, C, D as shown in Figure 2, according toWith | | AB | |/| | AC
| | it can extrapolate the particular location of shooting point in photo space and the identity relation in two-dimensional imaging space.
First corresponding subelement 24 is used to the pixel on the cylinder trademark image corresponding to two-dimensional imaging coordinate system
In SEF.Specifically, correspondence of the four border key points (wherein three) in photo space and two-dimensional imaging space is utilized
Relation, according to affine transformation, you can correspond to any one pixel in cylinder trademark image in two-dimensional imaging coordinate system.
Further, flattening unit 2 also includes locator unit 22 and computation subunit 23, wherein:Locator unit 22
For positioning four border key points in the cylinder trademark image, the localization method of the border key point is:Described in detection
The straight border at left and right sides of cylinder in cylinder trademark image, it is then each on described left bounding lines to choose two passes
Key point so that they are in two circular cross-sections of cylinder.It is specifically included:
All marginal points in detection image, for example the operator such as canny or sobel or Roberts or Prewitt can be real
Existing rim detection;Then using Hough transformation detection of straight lines (shown in such as Fig. 3 (b)), the cylinder trademark image middle column body is found
Left and right side edge;
As shown in Fig. 2 by taking red wine bottle as an example, it is each to determine two key points (as schemed on two linear edges detected
A, C and B in 2, D) so that ABCD is an isosceles trapezoid,It is parallel to each other, such A, B are in same circular cross-section
On, in another circular cross-section, thus obtained A, B, C, D can be used as four border key points by C, D.
Computation subunit 23 is used to, according to each border key point, calculate shooting point position, and determine the cylinder business
For pixel in logo image to the corresponding relation of the two-dimensional imaging coordinate system, it is corresponding sub that the corresponding relation is input to described first
Unit.
Above-mentioned positioning four borders key point A, B, C, D, the i.e. positional information of four points in photo space are determination
Value.Simultaneously as border key point A, B, C, D are boundary point, therefore, these coordinate values in two-dimensional imaging space also may be used
To be calculated according to priori.Therefore with reference to border key point A, B, C, D in photo space and the position in two-dimensional imaging space
Confidence ceases, can be to obtain the corresponding relation in photo space and two-dimensional imaging space by known computational methods.
Second corresponding subelement 25 is used for the corresponding relation calculated according to computation subunit 23, by two-dimensional imaging space
Pixel further correspond in the three-dimensional system of coordinate, then the cylinder in the three dimensions is laterally paved,
Obtain described plane trademark image.
Two-dimensional imaging space is explained in detail below to the determination method of the corresponding relation of three-dimensional system of coordinate.
In order to make it easy to understand, each point is introduced in the three-dimensional system of coordinate OXYZ first in the two-dimensional imaging coordinate system SEF
In perspective projection:By taking any point P on the cylinder trademark image as an example, according to perspective projection, sightWith plane SEF
Intersection point Q be P imaging point.In order to finally give relative positions of the point Q on the cylinder trademark image, it is necessary to will point Q
Coordinate value be transformed into the two-dimensional imaging coordinate system, obtain coordinate values of the point Q in the two-dimensional imaging coordinate system.Specifically
Method is as follows:
In three-dimensional system of coordinate OXYZ, note point S coordinate is (sx, sy, sz),The unit vector in direction point
It is notPoint Q coordinate is (qx, qy, qz).Coordinates of the postulated point Q in coordinate system SEFV is (qe, qf, qv), then just like
Lower relational expression:
Q is solved according to above formulae, qf(because point Q is in SEF planes, so qv=0), then (qe, qf) be point Q described
Coordinate value in two-dimensional imaging coordinate system SEF.
After the principle for describing perspective projection, the corresponding relation in two-dimensional imaging space to three dimensions also determines therewith,
The as reverse process of perspective projection.In particular it is necessary to the coordinate value according to imaging point Q in two-dimensional imaging coordinate system SEF,
Reversely release coordinate value of the corresponding P points in three-dimensional system of coordinate.Also namely based on the two-dimensional imaging coordinate system and institute
Relative position between the shooting point of reckoning, it may be determined that pixel is to the three-dimensional system of coordinate in the two-dimensional imaging coordinate system
Corresponding relation." relative position " herein refer to the distance between two-dimensional imaging coordinate system and shooting point for being calculated and
Relative direction.
As shown in fig. 6, in above-described embodiment, matching unit 3 also includes roughing subelement 31 and carefully selects subelement 32, its
In:
Roughing subelement 31 is used to extract the word or symbolic information in the plane trademark image, in the database
Candidate's trade mark corresponding to finding, such as:Candidate's trade mark is obtained by OCR technique.
It is thin to select subelement 32 to be used to detect the characteristic point in the plane trademark image, and with candidate's trade mark
Matched, finally calculated the most standard label of Feature Points Matching as trade mark corresponding to the commodity, such as SIFT
Method, PCA-SIFT algorithms, SURF algorithm etc. can carry out feature point detection.After cylinder trade mark is converted by flattening, pass through OCR
Technology extracts related text information, reduces range of search and finds candidate's trade mark, then by SIFT algorithms and candidate data storehouse
Standard label figure matched, can greatly improve matching and identification precision.Meanwhile the program also efficiently solves number
According to the difficulty of collection, each commodity, it is only necessary to a width plane trade mark standard drawing.
It is last it is to be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations.To the greatest extent
The present invention is described in detail with reference to the foregoing embodiments for pipe, it will be understood by those within the art that:It is still
Technical scheme described in foregoing embodiments can be modified, or which part technical characteristic is equally replaced
Change;And these modifications or replacement, the essence of appropriate technical solution is departed from the essence of various embodiments of the present invention technical scheme
God and scope.
Claims (8)
- A kind of 1. cylinder brand recognition method, it is characterised in that comprise the following steps:Input the cylinder trademark image photographed;The cylinder trademark image is flattened into plane trademark image;AndTrade mark in the plane trademark image is matched with the standard flat figure of trade mark in database, to obtain corresponding business The identity of product,Wherein, the cylinder trademark image flattening specifically includes into the plane trademark image:Establish coordinate system:The carrier of the cylinder trade mark is simplified to the cylinder of rule, using the center of the cylinder as coordinate Origin, establish three-dimensional system of coordinate;Two-dimensional imaging coordinate system is established on the normal plane of sight;Four border key points are positioned in the cylinder trademark image, to calculate shooting point position, and determine the cylinder business The corresponding relation of pixel in logo image to the two-dimensional imaging coordinate system;Pixel on the cylinder trademark image photographed is corresponded in the two-dimensional imaging coordinate system;Pixel in the two-dimensional imaging space is further corresponded in the three-dimensional system of coordinate, and by the three-dimensional coordinate Cylinder in system is laterally paved, and obtains the plane trademark image.
- 2. cylinder brand recognition method as claimed in claim 1, it is characterised in that the positioning of the border key point is specifically wrapped Include:The straight border at left and right sides of the cylinder in the cylinder trademark image is detected, it is then each on the left bounding lines Two key points are chosen, to cause each key point in two circular cross-sections in cylinder.
- 3. cylinder brand recognition method as claimed in claim 1, it is characterised in that based on the two-dimensional imaging coordinate system and institute Relative position between the shooting point calculated, determine in the two-dimensional imaging coordinate system pixel to the three-dimensional system of coordinate Corresponding relation.
- 4. cylinder brand recognition method as claimed in claim 1, it is characterised in that trade mark in the plane trademark image with The matching of the trade mark standard flat figure specifically includes:Roughing:The word or symbolic information in the plane trademark image are extracted, and finds corresponding time in the database Select trade mark;Thin choosing:The characteristic point of the plane trademark image is detected, and matched with candidate's trade mark, finally by spy The most standard label of Point matching is levied as trade mark corresponding to the commodity.
- A kind of 5. cylinder brand recognition device, it is characterised in that including:Input block, for inputting the cylinder trademark image photographed;Unit is flattened, for the cylinder trademark image to be flattened into plane trademark image;AndMatching unit, for by the trade mark and database in the plane trademark image trade mark standard flat figure carry out Match somebody with somebody, to obtain the identity of corresponding commodity;Wherein, the flattening unit includes:Coordinate system subelement is built, for the carrier of the cylinder trade mark to be simplified to the cylinder of rule, with the cylinder The heart is the origin of coordinates, establishes three-dimensional system of coordinate, and two-dimensional imaging coordinate system is then established on the normal plane of sight;First corresponding subelement, for the pixel on the cylinder photographed trademark image to be corresponded into the two-dimensional imaging coordinate In system;Locator unit, for positioning four border key points in the cylinder trademark image;Computation subunit, for according to each border key point, calculating shooting point position, and determine the cylinder trademark image On pixel to the corresponding relation of the two-dimensional imaging coordinate system, the corresponding relation is input to the described first corresponding subelement,Second corresponding subelement, for the pixel in the two-dimensional imaging space further to be corresponded into the three-dimensional system of coordinate In, then the cylinder in the three dimensions is laterally paved, obtains the plane trademark image.
- 6. cylinder brand recognition device as claimed in claim 5, it is characterised in that the locator unit is to each border The positioning of key point specifically includes:The straight border at left and right sides of the cylinder in the cylinder trademark image is detected, it is then each on the left bounding lines Two key points are chosen, to cause each key point in two circular cross-sections in cylinder.
- 7. cylinder brand recognition device as claimed in claim 5, it is characterised in that the computation subunit is additionally operable to be based on institute The relative position between two-dimensional imaging coordinate system and the shooting point calculated is stated, to determine pixel in the two-dimensional imaging coordinate system Point arrives the corresponding relation of the three-dimensional system of coordinate, and the corresponding relation is input to the described second corresponding subelement.
- 8. cylinder brand recognition device as claimed in claim 5, it is characterised in that the matching unit also includes:Roughing subelement, for extracting word or symbolic information in the plane trademark image, and look in the database To corresponding candidate's trade mark;WithSubelement carefully is selected, is carried out for being detected to the characteristic point in the plane trademark image, and with candidate's trade mark Matching, finally using the most standard label of Feature Points Matching as trade mark corresponding to the commodity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510109367.1A CN104680152B (en) | 2015-03-12 | 2015-03-12 | A kind of cylinder brand recognition method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510109367.1A CN104680152B (en) | 2015-03-12 | 2015-03-12 | A kind of cylinder brand recognition method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104680152A CN104680152A (en) | 2015-06-03 |
CN104680152B true CN104680152B (en) | 2018-03-13 |
Family
ID=53315170
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510109367.1A Active CN104680152B (en) | 2015-03-12 | 2015-03-12 | A kind of cylinder brand recognition method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104680152B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106257451A (en) * | 2015-12-18 | 2016-12-28 | 陶德龙 | The method and device of website visiting |
CN105488507B (en) * | 2016-01-22 | 2019-03-12 | 吉林大学 | Periphery character identification system and method |
CN111325049B (en) * | 2018-12-13 | 2024-07-19 | 北京京东乾石科技有限公司 | Commodity identification method, commodity identification device, electronic equipment and readable medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102156970A (en) * | 2011-04-14 | 2011-08-17 | 复旦大学 | Fisheye image correction method based on distorted straight slope calculation |
-
2015
- 2015-03-12 CN CN201510109367.1A patent/CN104680152B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102156970A (en) * | 2011-04-14 | 2011-08-17 | 复旦大学 | Fisheye image correction method based on distorted straight slope calculation |
Non-Patent Citations (2)
Title |
---|
《基于标定的任意半径柱面上2维条形码畸变校正》;王伟等;《中国图象图形学报》;20140131;第19卷(第1期);正文第69-75页 * |
《柱面透视投影模型下的全景环形透镜畸变校正》;肖潇等;《西安电子科技大学学报(自然科学版)》;20130228;第40卷(第1期);正文第87-92页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104680152A (en) | 2015-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2624224B1 (en) | Method and device for distinguishing value documents | |
CN108520254B (en) | Text detection method and device based on formatted image and related equipment | |
CN103530881B (en) | Be applicable to the Outdoor Augmented Reality no marks point Tracing Registration method of mobile terminal | |
CN104102904B (en) | A kind of static gesture identification method | |
CN109685013B (en) | Method and device for detecting head key points in human body posture recognition | |
CN105260751B (en) | A kind of character recognition method and its system | |
CN102467657A (en) | Gesture recognizing system and method | |
CN105457908B (en) | The sorting method for rapidly positioning and system of small size glass panel based on monocular CCD | |
CN108009472A (en) | A kind of finger back arthrosis line recognition methods based on convolutional neural networks and Bayes classifier | |
CN110675442B (en) | Local stereo matching method and system combined with target recognition technology | |
CN104978012A (en) | Pointing interactive method, device and system | |
CN105138983B (en) | The pedestrian detection method divided based on weighting block model and selective search | |
CN107545223B (en) | Image recognition method and electronic equipment | |
US8953852B2 (en) | Method for face recognition | |
CN104680152B (en) | A kind of cylinder brand recognition method and device | |
CN105718552A (en) | Clothing freehand sketch based clothing image retrieval method | |
CN106503626A (en) | Being mated with finger contours based on depth image and refer to gesture identification method | |
CN102034254A (en) | Method for recognizing geometric figure | |
CN109410243A (en) | Based on the overlapping multi-object tracking method with template matching in region | |
CN106296587A (en) | The joining method of tire-mold image | |
Manduchi et al. | Distinctiveness maps for image matching | |
CN104036494B (en) | A kind of rapid matching computation method for fruit image | |
CN106934832B (en) | A kind of simple straight line automatic positioning method towards vision line walking | |
Makris et al. | Robust 3d human pose estimation guided by filtered subsets of body keypoints | |
KR101717222B1 (en) | System for detecting gaze and method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |