CN105631832A - Lens counting mobile terminal and method - Google Patents
Lens counting mobile terminal and method Download PDFInfo
- Publication number
- CN105631832A CN105631832A CN201610160385.7A CN201610160385A CN105631832A CN 105631832 A CN105631832 A CN 105631832A CN 201610160385 A CN201610160385 A CN 201610160385A CN 105631832 A CN105631832 A CN 105631832A
- Authority
- CN
- China
- Prior art keywords
- eyeglass
- image
- mobile terminal
- counting
- original image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000003702 image correction Methods 0.000 claims abstract description 11
- 238000001514 detection method Methods 0.000 claims description 15
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 8
- 238000003708 edge detection Methods 0.000 claims description 8
- 208000003464 asthenopia Diseases 0.000 abstract description 6
- 206010023644 Lacrimation increased Diseases 0.000 abstract 1
- 208000030533 eye disease Diseases 0.000 abstract 1
- 230000004317 lacrimation Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 6
- 201000010099 disease Diseases 0.000 description 6
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 6
- 238000003909 pattern recognition Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000007423 decrease Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000012512 characterization method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000002059 diagnostic imaging Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/80—Geometric correction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/1737—Details of further file system functions for reducing power consumption or coping with limited storage space, e.g. in mobile devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06M—COUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
- G06M1/00—Design features of general application
- G06M1/27—Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum
- G06M1/272—Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum using photoelectric means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06M—COUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
- G06M11/00—Counting of objects distributed at random, e.g. on a surface
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10141—Special mode during image acquisition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30242—Counting objects in image
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a lens counting mobile terminal and a lens counting method. Original images of lenses in front of a camera are collected in sequence by the camera arranged on a mobile terminal body, so that workers do not need to stare at the lenses for a long time with naked eyes, and the phenomenon of eyestrain, ache and lacrimation and the like can be prevented, and eye diseases caused thereby is avoided; an image correction unit is used for correcting the original images to enable the original images to be corrected into images shot by the mobile terminal under the condition that the mobile terminal is horizontally arranged, and enable the lens images to be close to be in a round shape, thereby reducing lens image identification difficulty, and reducing operation amount; and the number of the lenses in the original images is summarized automatically through a lens identification unit and a counting unit instead of manual work of the workers, so that summarizing speed is fast, efficiency is high, accuracy rate is high, and errors due to human factors can be further prevented.
Description
Technical field
The present invention relates to number system field, it is specifically related to a kind of eyeglass counting mobile terminal and method.
Background technology
Optical mirror slip is widely used in the numerous areas such as security protection, medical imaging, intelligent transportation, industrial detection, and its demand and turnout increase day by day.
In traditional optical manufacturing industry, for processing optical mirror slip carry out processing number quantitative statistics and production inventory make an inventory time, be all by artificial mode, namely by employee one by one count eyeglass, add up its number, then manual record.
This kind of complicate statistics the method for recording optically eyeglass quantity, its working efficiency is very low, causes being produced into increase; And owing to there is human factor, statistical error is bigger; In addition, owing to part optical mirror slip bore is very little, long-time the staring at of people's eye is looked, and can cause eyestrain, ache, shed tears, thus brings out some ophthalmic diseasess.
Summary of the invention
Therefore, the technical problem to be solved in the present invention is to overcome and adopts complicate statistics in prior art and recording optically eyeglass quantity causes the defect that working efficiency is poor, statistical error greatly, easily brings out ophthalmic diseases, thus a kind of eyeglass counting mobile terminal is provided, comprising:
Camera, is arranged on the fuselage of mobile terminal, gathers the original image of the eyeglass passing through described camera front successively;
Image correction unit, according to described camera collection, during original image, described original image is corrected by the angle of described fuselage and horizontal direction;
Eyeglass recognition unit, identifies the eyeglass image in the image after correction;
Counting unit, adds up the number of described eyeglass image.
Preferably, described eyeglass counting mobile terminal, also comprises:
Circular frequency sensor, for measuring the circular frequency that described fuselage rotates and deflects;
First acquiring unit, for the rotation that obtains according to described circular frequency sensor and yaw rate, the angle of described fuselage and horizontal direction when calculating original image described in described camera collection.
Preferably, described image correction unit comprises:
Angle conversion subelement, for the angle of described fuselage and horizontal direction during original image according to described camera collection, carries out angle equation conversion to described original image.
Described eyeglass recognition unit, comprising:
Rim detection subelement, detects algorithm according to Sobel Sobel edge edge, the image after described correction is carried out rim detection;
Outline identification subelement, according to edge detection results, identifies circular contour by Hough Hough transform, and described circular contour is as eyeglass image.
Preferably, described eyeglass counting mobile terminal, also comprises the 2nd acquiring unit, focal length during for obtaining original image described in described camera collection and/or image resolution rate.
Preferably, described eyeglass counting mobile terminal, also comprises image and gathers start unit, and described image gathers start unit and comprises startup button, or voice promotor unit.
Preferably, described eyeglass counting mobile terminal, also comprises display screen, and described display screen can show the number of the eyeglass image of described counting unit statistics gained.
Preferably, described display screen can also show the image after described original image and/or described correction.
Preferably, described eyeglass counting mobile terminal, also comprises transmission unit, and the number for the eyeglass image that described counting unit is added up gained transfers to eyeglass management system or server.
Preferably, described eyeglass counting mobile terminal is smart mobile phone.
Present invention also offers a kind of eyeglass method of counting adopting eyeglass counting mobile terminal, comprise the steps:
Control the camera being arranged on the fuselage of mobile terminal, gather the original image of the eyeglass passing through described camera front successively;
According to described camera collection, during original image, described original image is corrected by the angle of described fuselage and horizontal direction;
Identify the eyeglass image in the image after correction;
Add up the number of described eyeglass image.
Preferably, the circular frequency of the rotation of described fuselage and deflection is measured by the circular frequency sensor of described mobile terminal;
The rotation obtained according to described circular frequency sensor and yaw rate, the angle of described fuselage and horizontal direction when calculating original image described in described camera collection.
Preferably, the described step that during original image, described original image is corrected by the angle of described fuselage and horizontal direction according to described camera collection, comprising:
According to described camera collection, the angle of described fuselage and horizontal direction during original image, carries out angle equation conversion to described original image.
Preferably, described in identify the step of the eyeglass image in the image after correction, comprising:
Detect algorithm according to Sobel Sobel edge edge, the image after described correction is carried out rim detection;
According to edge detection results, identifying circular contour by Hough Hough transform, described circular contour is as eyeglass image.
Preferably, described eyeglass method of counting, also comprises focal length when obtaining original image described in described camera collection and/or image resolution rate.
Preferably, described eyeglass method of counting, also comprises by starting button, or starts original image described in described camera collection by voice.
Preferably, described eyeglass method of counting, also comprises the number of the eyeglass image of the display screen display statistics gained by described mobile terminal.
Preferably, described eyeglass method of counting, also comprises the image shown described original image and/or described correction by described display screen after.
Preferably, described eyeglass method of counting, the number also comprising the eyeglass image by statistics gained transfers to eyeglass management system or server.
Preferably, described eyeglass counting mobile terminal is smart mobile phone.
Technical solution of the present invention, tool has the following advantages:
1, eyeglass provided by the invention counting mobile terminal, the original image of the eyeglass by camera front is gathered successively by camera, eyeglass is stared at for a long time without the need to user's naked eyes, thus avoid consequent eyestrain, ache, the situation such as shed tears, avoid the ophthalmic diseases thus brought out; Being corrected by original image by image correction unit, the image taken under original image is corrected to mobile terminal horizontal positioned situation, makes eyeglass image close to circular, thus reduces the difficulty of eyeglass pattern recognition, reduces computing amount; By the number of eyeglass in eyeglass recognition unit and counting unit programming count original image, it is not necessary to the number of eyeglass in complicate statistics original image, statistics speed is fast, efficiency height, and accuracy rate is higher, further avoid the error caused by human factor.
2, eyeglass provided by the invention counting mobile terminal, the circular frequency rotated by circular frequency sensor measuring device body and deflect, the angle of fuselage and horizontal direction when the rotation obtained according to circular frequency sensor by the first acquiring unit and yaw rate calculate camera collection original image, change subelement by angle and original image carried out angle equation conversion, the oval image of eyeglass in original image is corrected to circular, computing amount when can reduce eyeglass pattern recognition, reduces the difficulty identified.
3, eyeglass provided by the invention counting mobile terminal, the logical eyeglass that reduces crosses rim detection subelement according to Sobel Sobel edge edge detection algorithm, and the image after correction is carried out rim detection; By outline identification subelement according to edge detection results, circular contour is identified by Hough Hough transform, using this circular contour as eyeglass image, by rim detection and outline identification technology, the number of eyeglass in programming count original image, it is not necessary to the number of eyeglass in complicate statistics original image, statistics speed is fast, efficiency height, and accuracy rate is higher, further avoid the error caused by human factor.
4, eyeglass provided by the invention counting mobile terminal, by focal length during the 2nd acquiring unit acquisition camera collection original image and/or image resolution rate, to estimate the size of original image, the storage space distributing enough sizes stores and processes original image, ensures the smooth operation of program of mobile terminal.
5, eyeglass provided by the invention counting mobile terminal, by starting button or voice promotor unit starting camera collection eyeglass image, after facilitating user to select suitable position and angle, gather original image again, reduce the storage of useless image, save the internal memory of mobile terminal.
6, eyeglass provided by the invention counting mobile terminal, by the number of eyeglass image of display screen display counting unit statistics gained, it may also be useful to the mode that eyeglass number is known at family more in time, more convenient.
7, eyeglass provided by the invention counting mobile terminal, the image after original image and/or correction is shown by display screen, thus enable user use mobile terminal gather eyeglass original image time preview original image and/or correction after image, the image preserved, give up useless image, save the internal memory of mobile terminal.
9, eyeglass provided by the invention counting mobile terminal, by transmission unit, the number of the eyeglass image of counting unit statistics gained is transferred to eyeglass management system or server, mobile terminal is automatically sent by the eyeglass number of transmission unit by statistics gained and is inputed to management system, without the need to artificial input, decrease human cost on the one hand, avoid the data mistake may brought owing to manually inputting on the other hand.
Accompanying drawing explanation
In order to be illustrated more clearly in the specific embodiment of the invention or technical scheme of the prior art, it is briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Figure 1A is the functional block diagram of a concrete example of eyeglass counting mobile terminal in the embodiment of the present invention 1;
Figure 1B gathers the schematic block diagram of eyeglass original image when being that in the embodiment of the present invention 1, the eyeglass counting relative horizontal direction of mobile terminal has angle to place;
Fig. 1 C is the schematic block diagram correcting in the embodiment of the present invention 1 and gathering eyeglass original image when rear lens counting mobile terminal is parallel to horizontal direction;
Fig. 1 D is the functional block diagram of another concrete example of eyeglass counting mobile terminal in the embodiment of the present invention 1;
Fig. 2 is the schema of a concrete example of eyeglass method of counting in the embodiment of the present invention 2.
Embodiment
Below in conjunction with accompanying drawing, the technical scheme of the present invention is clearly and completely described, it is clear that described embodiment is the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
In describing the invention, it should be noted that, it is based on orientation shown in the drawings or position relation that the orientation of the instruction such as term " " center ", " on ", D score, "left", "right", " vertically ", " level ", " interior ", " outward " or position are closed; be only the present invention for convenience of description and simplified characterization; instead of the device that refers to of instruction or hint or element must have specific orientation, with specific orientation structure and operation, therefore can not be interpreted as limitation of the present invention. In addition, term " first ", " the 2nd ", " the 3rd " are only for describing object, and can not be interpreted as instruction or hint relative importance.
In describing the invention, it is necessary to explanation, unless otherwise clearly defined and limited, term " installation ", " being connected ", " connection " should be interpreted broadly, such as, it is possible to be fixedly connected with, it is also possible to be removably connect, or connect integratedly; Can be mechanically connected, it is also possible to be electrical connection; Can be directly be connected, it is also possible to be indirectly connected by intermediary, it is also possible to be the connection of two element internals, it is possible to be wireless connections, it is also possible to be wired connection. For the ordinary skill in the art, it is possible to particular case understands above-mentioned term concrete implication in the present invention.
In addition, if below in the described different enforcement mode of the present invention involved technology feature do not form conflict each other and just can be combined with each other.
Embodiment 1
The present embodiment provides a kind of eyeglass counting mobile terminal, as shown in Figure 1A, comprises camera 10, image correction unit 20, eyeglass recognition unit 30 and counting unit 40.
Camera 10, is arranged on the fuselage of mobile terminal, gathers the original image of the eyeglass passing through camera front successively. Preferably, eyeglass launches paving completely to put, and is place with on horizontal plane. User's hand-held mobile terminal, in the surface of eyeglass or oblique upper, moves mobile terminal by user or makes the mode moving the lens position that paving is put, make mobile terminal and spread the eyeglass generation relative displacement relation put. The camera collection of mobile terminal is successively by the original image of the eyeglass in camera front.
Camera is adopted to obtain the original image of eyeglass, and it is processed thus obtain the number of eyeglass, stare at eyeglass for a long time without the need to user's naked eyes, thus avoid consequent eyestrain, ache, the situation such as shed tears, avoid the ophthalmic diseases thus brought out.
Image correction unit 20, corrects original image according to the angle of fuselage during camera collection original image and horizontal direction. When being taken pictures by eyeglass, mobile terminal can be horizontal positioned, it is also possible to be that relative horizontal direction has angle. When the relative horizontal direction of mobile terminal has angle to place, in the original image of the eyeglass that camera obtains, not the original image of each eyeglass is circular. But when pattern recognition, identifying the oval algorithm relative complex than identifying circular, computing amount is relatively big, and difficulty is relatively large. As shown in Figure 1B, for schematic diagram is put in position when mobile terminal gathers image on the left of arrow, the image schematic diagram for this reason got under position on the right of arrow. Therefore, original image is corrected, original image is corrected to the image such as shooting in mobile terminal horizontal positioned situation shown on the left of Fig. 1 C, make eyeglass image close to such as circular shown on the right side of Fig. 1 C, thus reduce the difficulty of eyeglass pattern recognition, reduce computing amount.
As a kind of preferred implementation of the present embodiment, as shown in figure ip, this eyeglass counting mobile terminal, also comprises circular frequency sensor 50 and the first acquiring unit 60. Circular frequency sensor 50, for measuring the circular frequency that fuselage rotates and deflects. First acquiring unit 60, for the rotation that obtains according to circular frequency sensor and yaw rate, by circular frequency to the integration of time, the angle of fuselage and horizontal direction when calculating camera collection original image. Above-mentioned image correction unit 20, comprises angle conversion subelement 21, for the angle according to fuselage during camera collection original image and horizontal direction, original image carries out angle equation conversion.
Eyeglass recognition unit 30, identifies the eyeglass image in the image after correction.
As a kind of preferred implementation of the present embodiment, this eyeglass recognition unit 30, comprises rim detection subelement 31 and outline identification subelement 32. Rim detection subelement 31, detects algorithm according to Sobel Sobel edge edge, and the image after correction is carried out rim detection. Outline identification subelement 32, according to edge detection results, identifies circular contour by Hough Hough transform, and circular contour is as eyeglass image.
Counting unit 40, the number of statistics eyeglass image.
By rim detection and outline identification technology, the number of eyeglass in programming count original image, it is not necessary to the number of eyeglass in complicate statistics original image, statistics speed is fast, efficiency height, and accuracy rate is higher, further avoid the error caused by human factor.
As a kind of preferred implementation of the present embodiment, as shown in Figure 1B, eyeglass counting mobile terminal also comprises the 2nd acquiring unit 70, focal length during for obtaining camera collection original image and/or image resolution rate, to estimate the size of original image, the storage space distributing enough sizes stores and processes original image, ensures the smooth operation of program of mobile terminal.
Also comprising image and gather start unit 80, image gathers start unit and comprises startup button, or voice promotor unit, gathers original image again, reduce the storage of useless image after facilitating user to select suitable position and angle, saves the internal memory of mobile terminal.
Eyeglass counting mobile terminal also comprises display screen 90, it is possible to the number of eyeglass image of display counting unit statistics gained, it may also be useful to the mode that eyeglass number is known at family more in time, more convenient. This display screen 90 can also show the image after original image and/or correction, thus enable user use mobile terminal gather eyeglass original image time preview original image and/or correction after image, the image preserved, gives up useless image, saves the internal memory of mobile terminal.
In addition, eyeglass counting mobile terminal, also comprises transmission unit 100, for the number of the eyeglass image of counting unit statistics gained is transferred to eyeglass management system or server. General factory or workshop can be equipped with the software eyeglass management system of automatization, it is also possible to be a station server main frame. Mobile terminal is automatically sent by the eyeglass number of transmission unit by statistics gained and is inputed to management system, it is not necessary to manually inputs, decreases human cost on the one hand, avoids the data mistake may brought owing to manually inputting on the other hand.
Preferably, eyeglass counting mobile terminal is smart mobile phone. Utilize camera that smart mobile phone carries, circular frequency sensor, display screen, and wireless network transmission module, exploitation software system, these software system comprise above-mentioned image correction unit, eyeglass recognition unit, counting unit, the first acquiring unit, the 2nd acquiring unit, image collection start unit, transmission unit etc. Utilize existing smart mobile phone exploitation eyeglass counting mobile terminal, reduce the hardware cost of eyeglass counting mobile terminal on the one hand; On the other hand due to ubiquity and the portability of smart mobile phone so that the use of this eyeglass counting mobile terminal is more convenient.
The eyeglass counting mobile terminal that the present embodiment provides, the original image of the eyeglass by camera front is gathered successively by camera, eyeglass is stared at for a long time without the need to user's naked eyes, thus avoid consequent eyestrain, ache, the situation such as shed tears, avoid the ophthalmic diseases thus brought out; Being corrected by original image by image correction unit, the image taken under original image is corrected to mobile terminal horizontal positioned situation, makes eyeglass image close to circular, thus reduces the difficulty of eyeglass pattern recognition, reduces computing amount; By the number of eyeglass in eyeglass recognition unit and counting unit programming count original image, it is not necessary to the number of eyeglass in complicate statistics original image, statistics speed is fast, efficiency height, and accuracy rate is higher, further avoid the error caused by human factor.
Embodiment 2
The present embodiment provides a kind of eyeglass method of counting adopting eyeglass counting mobile terminal, as shown in Figure 2, comprises the steps.
S1: control the camera being arranged on the fuselage of mobile terminal, gathers the original image of the eyeglass passing through camera front successively.
Preferably, eyeglass method of counting, also comprises by starting button, or starts camera collection original image by voice.
S2: original image is corrected according to the angle of fuselage during camera collection original image and horizontal direction.
Preferably, by the circular frequency of the circular frequency sensor measuring device body rotation of mobile terminal and deflection;
The rotation obtained according to circular frequency sensor and yaw rate, the angle of fuselage and horizontal direction when calculating camera collection original image.
As a kind of preferred implementation of the present embodiment, step S2 comprises: according to the angle of fuselage during camera collection original image and horizontal direction, original image is carried out angle equation conversion.
S3: identify the eyeglass image in the image after correction; Step S3, comprises the steps S31 and S32.
S31: detect algorithm according to Sobel Sobel edge edge, carries out rim detection to the image after correction.
S32: according to edge detection results, identifies circular contour by Hough Hough transform, and circular contour is as eyeglass image.
S4: the number of statistics eyeglass image.
As a kind of preferred implementation of the present embodiment, eyeglass method of counting, also comprise the number of the eyeglass image of the display screen display statistics gained by mobile terminal. The number also comprising the eyeglass image by statistics gained transfers to eyeglass management system or server.
Eyeglass method of counting, also comprises the image shown original image and/or correction by display screen after.
In addition, eyeglass method of counting, also comprises focal length when obtaining camera collection original image and/or image resolution rate.
Preferably, eyeglass counting mobile terminal is smart mobile phone.
The eyeglass method of counting that the present embodiment provides, the original image of the eyeglass by camera front is gathered successively by camera, stare at eyeglass for a long time without the need to user's naked eyes, thus avoid consequent eyestrain, ache, the situation such as shed tears, avoid the ophthalmic diseases thus brought out; According to the angle of fuselage during camera collection original image and horizontal direction, original image is corrected, thus reduce the difficulty of eyeglass pattern recognition, reduce computing amount; Automatically identifying the eyeglass image in the image after correction and add up the number of eyeglass image, it is not necessary to the number of eyeglass in complicate statistics original image, statistics speed is fast, efficiency height, and accuracy rate is higher, further avoid the error caused by human factor.
Obviously, above-described embodiment is only for example is clearly described, and not to the restriction of the mode of enforcement. For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description. Here without the need to also cannot all enforcement modes be given exhaustive. And the apparent change thus extended out or variation are still among the protection domain of the invention.
Claims (14)
1. an eyeglass counting mobile terminal, it is characterised in that, comprising:
Camera, is arranged on the fuselage of mobile terminal, gathers the original image of the eyeglass passing through described camera front successively;
Image correction unit, according to described camera collection, during original image, described original image is corrected by the angle of described fuselage and horizontal direction;
Eyeglass recognition unit, identifies the eyeglass image in the image after correction;
Counting unit, adds up the number of described eyeglass image.
2. eyeglass according to claim 1 counting mobile terminal, it is characterised in that, also comprise:
Circular frequency sensor, for measuring the circular frequency that described fuselage rotates and deflects;
First acquiring unit, for the rotation that obtains according to described circular frequency sensor and yaw rate, the angle of described fuselage and horizontal direction when calculating original image described in described camera collection.
3. eyeglass according to claim 2 counting mobile terminal, it is characterised in that, described image correction unit comprises:
Angle conversion subelement, for the angle of described fuselage and horizontal direction during original image according to described camera collection, carries out angle equation conversion to described original image.
4. eyeglass according to claim 1 counting mobile terminal, it is characterised in that, described eyeglass recognition unit, comprising:
Rim detection subelement, detects algorithm according to Sobel Sobel edge edge, the image after described correction is carried out rim detection;
Outline identification subelement, according to edge detection results, identifies circular contour by Hough Hough transform, and described circular contour is as eyeglass image.
5. eyeglass according to claim 1 counting mobile terminal, it is characterised in that, also comprise the 2nd acquiring unit, focal length during for obtaining original image described in described camera collection and/or image resolution rate.
6. eyeglass according to claim 1 counting mobile terminal, it is characterised in that, also comprise image and gather start unit, described image gathers start unit and comprises startup button, or voice promotor unit.
7. eyeglass according to claim 1 counting mobile terminal, it is characterised in that, also comprise display screen, described display screen can show the number of the eyeglass image of described counting unit statistics gained.
8. eyeglass according to claim 7 counting mobile terminal, it is characterised in that, described display screen can also show the image after described original image and/or described correction.
9. eyeglass according to claim 1 counting mobile terminal, it is characterised in that, also comprise transmission unit, the number for the eyeglass image that described counting unit is added up gained transfers to eyeglass management system or server.
10. eyeglass according to claim 1 counting mobile terminal, it is characterised in that, described eyeglass counting mobile terminal is smart mobile phone.
11. 1 kinds adopt the eyeglass method of counting of eyeglass counting mobile terminal, it is characterised in that, comprise the steps:
Control the camera being arranged on the fuselage of mobile terminal, gather the original image of the eyeglass passing through described camera front successively;
According to described camera collection, during original image, described original image is corrected by the angle of described fuselage and horizontal direction;
Identify the eyeglass image in the image after correction;
Add up the number of described eyeglass image.
12. eyeglass method of counting according to claim 11, it is characterised in that, the circular frequency of the rotation of described fuselage and deflection is measured by the circular frequency sensor of described mobile terminal;
The rotation obtained according to described circular frequency sensor and yaw rate, the angle of described fuselage and horizontal direction when calculating original image described in described camera collection.
13. eyeglass method of counting according to claim 12, it is characterised in that, the described step that during original image, described original image is corrected by the angle of described fuselage and horizontal direction according to described camera collection, comprising:
According to described camera collection, the angle of described fuselage and horizontal direction during original image, carries out angle equation conversion to described original image.
14. eyeglass method of counting according to claim 11, it is characterised in that, described in identify the step of the eyeglass image in the image after correction, comprising:
Detect algorithm according to Sobel Sobel edge edge, the image after described correction is carried out rim detection;
According to edge detection results, identifying circular contour by Hough Hough transform, described circular contour is as eyeglass image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610160385.7A CN105631832A (en) | 2016-03-21 | 2016-03-21 | Lens counting mobile terminal and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610160385.7A CN105631832A (en) | 2016-03-21 | 2016-03-21 | Lens counting mobile terminal and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105631832A true CN105631832A (en) | 2016-06-01 |
Family
ID=56046720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610160385.7A Pending CN105631832A (en) | 2016-03-21 | 2016-03-21 | Lens counting mobile terminal and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105631832A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107220675A (en) * | 2017-06-21 | 2017-09-29 | 苏州卡睿知光电科技有限公司 | A kind of method and device for setting up eyeglass identification model and eyeglass identification |
CN107330878A (en) * | 2017-06-21 | 2017-11-07 | 苏州卡睿知光电科技有限公司 | A kind of method and device for setting up eyeglass identification model |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101271575A (en) * | 2008-04-09 | 2008-09-24 | 东华大学 | Orthogonal projection emendation method for image measurement in industry close range photography |
US20130182002A1 (en) * | 2012-01-12 | 2013-07-18 | Kofax, Inc. | Systems and methods for mobile image capture and processing |
CN103489155A (en) * | 2013-09-18 | 2014-01-01 | 厦门美图网科技有限公司 | Automatic horizontal correction photographing method based on sensor |
CN104599236A (en) * | 2014-12-29 | 2015-05-06 | 小米科技有限责任公司 | Image correction method and device |
CN105224913A (en) * | 2015-09-01 | 2016-01-06 | 上海斐讯数据通信技术有限公司 | A kind of number of articles detection method and device |
-
2016
- 2016-03-21 CN CN201610160385.7A patent/CN105631832A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101271575A (en) * | 2008-04-09 | 2008-09-24 | 东华大学 | Orthogonal projection emendation method for image measurement in industry close range photography |
US20130182002A1 (en) * | 2012-01-12 | 2013-07-18 | Kofax, Inc. | Systems and methods for mobile image capture and processing |
CN103489155A (en) * | 2013-09-18 | 2014-01-01 | 厦门美图网科技有限公司 | Automatic horizontal correction photographing method based on sensor |
CN104599236A (en) * | 2014-12-29 | 2015-05-06 | 小米科技有限责任公司 | Image correction method and device |
CN105224913A (en) * | 2015-09-01 | 2016-01-06 | 上海斐讯数据通信技术有限公司 | A kind of number of articles detection method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107220675A (en) * | 2017-06-21 | 2017-09-29 | 苏州卡睿知光电科技有限公司 | A kind of method and device for setting up eyeglass identification model and eyeglass identification |
CN107330878A (en) * | 2017-06-21 | 2017-11-07 | 苏州卡睿知光电科技有限公司 | A kind of method and device for setting up eyeglass identification model |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10261345B2 (en) | Imaging adjustment device and imaging adjustment method | |
US20160103318A1 (en) | Imaging adjustment device and imaging adjustment method | |
CN107040725B (en) | Coordinate correction method of image acquisition device and image acquisition device | |
CN109377551B (en) | Three-dimensional face reconstruction method and device and storage medium thereof | |
CN102368137B (en) | Embedded calibrating stereoscopic vision system | |
EP3998580A2 (en) | Camera calibration method and apparatus, electronic device, storage medium, program product, and road side device | |
CN106707448B (en) | Adjusting system and adjusting method for lens assembly and display module | |
CN105320943A (en) | Biometric identification apparatus and biometric identification method therefor | |
WO2021092815A1 (en) | Identification method, temperature measurement method, device and storage medium | |
CN105701809B (en) | A kind of method for correcting flat field based on line-scan digital camera scanning | |
CN104679225A (en) | Method and device for adjusting screen of mobile terminal and mobile terminal | |
US11403745B2 (en) | Method, apparatus and measurement device for measuring distortion parameters of a display device, and computer-readable medium | |
WO2019232793A1 (en) | Two-camera calibration method, electronic device and computer-readable storage medium | |
CN107356213B (en) | Optical filter concentricity measuring method and terminal equipment | |
CN104154898A (en) | Active ranging method and system | |
CN109191516B (en) | Rotation correction method and device of structured light module and readable storage medium | |
AU2019360254B2 (en) | Fixtureless lensmeter system | |
CN105844272A (en) | Optical fingerprint identification device | |
CN113487510A (en) | Method, system and equipment for detecting needle point position for automatic liquid preparation of robot | |
CN105631832A (en) | Lens counting mobile terminal and method | |
WO2021077731A1 (en) | Multi-distance calibration method and system based on depth camera | |
CN113902652B (en) | Speckle image correction method, depth calculation method, device, medium, and apparatus | |
CN109308472B (en) | Three-dimensional sight estimation method based on iris projection matching function | |
CN106803050A (en) | A kind of apparatus for reading of bar code and its application method | |
CN105643265A (en) | Detecting method for matching of mounting surfaces of large workpieces |
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: 20160601 |