Device for reading resistor value with computer vision and method thereof

US9959616B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9959616-B2
Application numberUS-201615209770-A
CountryUS
Kind codeB2
Filing dateJul 14, 2016
Priority dateFeb 2, 2016
Publication dateMay 1, 2018
Grant dateMay 1, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Disclosed are a cost-effective light source device that can eliminate highlights or hotspots and reduce halo phenomenon on resistor surface and a method for reading resistor value with computer vision, in which an image of a body of a resistor is extracted through irradiation by an annular light source and reflection by a replaceable diffuse reflection hood such as paper box, paper bowl, or paper cup inside pasted with white paper and extraction by an image extraction device, followed by a series of image processing operations conducted by a control unit to calculate a disposition angle of the resistor in an image. Luminous elements on opposite axial ends of the resistor are activated, according to the disposition angle, for illumination, while luminous elements on opposite lateral sides of the resistor are shut down so that a clear color resistor image can be obtained.

First claim

Opening claim text (preview).

We claim: 1. A method for reading resistor value with computer vision comprising: acquiring an image of a resistor to extract color bands; training the color bands for 4-band, 5-band and establishing colors of a body of the resistor in a control unit and storing different files of color classifier for each 4-band, 5-band, and resistor body color; in reading a resistor, extracting an image of the resistor to be read; converting the color image so extracted into a gray-scale image, executing binarization treatment, and executing noise removal; calculating a resistor disposition angle in the image, activating luminous elements at opposite axial ends of the disposition position of the resistor according to the angle for illumination, while luminous elements on opposite lateral sides of the resistor are deactivated in order to extract a color resistor image having no light reflection and low halo; adjusting the clear color resistor image such that the resistor in the image is set to the horizontal and separating a resistor body image; establishing a resistor body color image diagram having a size that is the same as that of the resistor body image and carrying colors; executing differencing between the resistor body image and the resistor body color image diagram and converting a result color image of differencing into a gray-scale image and executing binarization on the gray-scale image with a binarization process to generate a binarized image; and calculating coordinates of a centroid of each of the color bands of the resistor in the binarized image and extracting the color bands according to an x-axis coordinate of the centroid and a y-axis coordinate of a centroid of the resistor body image. 2. The method for reading resistor value with computer vision according to claim 1 , wherein the binarization treatment comprises a first stage of detecting a directional angle of the resistor of the resistor image and a second stage of extracting the color bands. 3. The method for reading resistor value with computer vision according to claim 1 , wherein the resistor image, after binarization, is subjected to convex hull treatment to generate one or multiple blocks. 4. The method for reading resistor value with computer vision according to claim 1 , wherein adjusting the clear color resistor image to the horizontal comprises calculating a directional angle of a single block or a largest one of multiple blocks with a moment of inertia based process and calculating an angle of a centroid line of the block with a lowest moment of inertial process. 5. The method for reading resistor value with computer vision according to claim 1 , wherein a y-axis range of a resistor body is separated by re-calculating coordinates of the centroid of the clear color resistor image that has been adjusted to the horizontal are calculated and selecting 40 pixels above and 40 pixels below a y-axis coordinate of the centroid, reducing an x-axis range of the y-range resistor body by calculating coordinates of intersection points of top and bottom boundaries of the y-axis range, comparing and selecting a large one of minimums of the x-axis coordinates of the intersection points of the top and bottom boundaries as an x-axis range in a left end and comparing and selecting a small one of maximums of the x-axis coordinates of the intersection points of the top and bottom boundaries as an x-axis range in a right end so as to separate a resistor body image. 6. The method for reading resistor value with computer vision according to claim 1 , wherein the step of comparing and selecting a relatively large one of minimums of the x-axis coordinates of the intersection points of the top and bottom boundaries as an x-axis range in a left end comprises providing histograms for values of basic colors of red, green, and blue of pixels of the resistor body image, counting individual pixel number of the red values, the green values, and the blue values, and selecting the red value having a greatest pixel number, the green value having a greatest pixel number, and a blue value having a greatest pixel number to establish the resistor body color image diagram. 7. The method for reading resistor value with computer vision according to claim 1 , wherein extracting color bands comprises differencing between the resistor body image and the resistor body color image diagram and binarization such that a binarized color band image is obtained and a centroid thereof is calculated to extract a color band sample. 8. The method for reading resistor value with computer vision according to claim 1 , wherein extracting color bands is conducted in sequence in a direction from left to right such that the color bands are extracted and converted into color codes with which a predetermined formula is applied to calculate the resistor value. 9. The device and method for reading resistor value with computer vision according to claim 8 , wherein calculating the resistor value is such that positions of the color bands are analyzed and when a first one or second one of the color bands on the left end of the resistor is recognized as a gold or silver color, the sequence of reading the color codes is inversed for calculating the resistor value. 10. The method for reading resistor value with computer vision according to claim 8 further comprising sequentially determining a centroid distance between the first color band and the second color band on the left end and a centroid distance between a first color band and a second color band on a right end such that a mechanism of comparison is activated only when the first color band and the last color band are brown, red, green, blue, purple, and grey and when the centroid distance between the first color band and the second color band on the left end is greater that the centroid distance between the first color band and second color band on the right end, the sequence of reading color codes is inversed for calculating the resistor value. 11. The method for reading resistor value with computer vision according to claim 1 , wherein an application comprises an observation table on which a resistor is positionable, an annular light source, a reflection hood, a microscope, and a control unit such that in file establishing or reading of resistor colors, the resistor is positioned on the observation table and through irradiation by the annular light source and reflection by the reflection hood and extraction and transmission of a resistor image by the microscope to the control unit, file establishing or reading of a resistor value can be performed. 12. The method for reading resistor value with computer vision according to claim 3 , wherein adjusting the clear color resistor image to the horizontal comprises calculating a directional angle of a single block or a largest one of multiple blocks with a moment of inertia based process and calculating an angle of a centroid line of the block with a lowest moment of inertial process.

Assignees

Inventors

Classifications

  • relating to colour · CPC title

  • by compensating for image skew or non-uniform image deformations · CPC title

  • Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion · CPC title

  • Control of illumination · CPC title

  • Quantising the image, e.g. histogram thresholding for discrimination between background and foreground patterns · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9959616B2 cover?
Disclosed are a cost-effective light source device that can eliminate highlights or hotspots and reduce halo phenomenon on resistor surface and a method for reading resistor value with computer vision, in which an image of a body of a resistor is extracted through irradiation by an annular light source and reflection by a replaceable diffuse reflection hood such as paper box, paper bowl, or pap…
Who is the assignee on this patent?
Univ Yuan Ze
What technology area does this patent fall under?
Primary CPC classification G06T7/90. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 01 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).