A method for automatically selecting standards based on color and gloss
By using automated testing technology based on color and gloss, the problems of human error and manpower waste in the selection of standard samples in the 3C industry have been solved, achieving efficient and accurate standard sample selection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING FOCUSIGHT TECH
- Filing Date
- 2024-11-26
- Publication Date
- 2026-05-26
AI Technical Summary
In existing technologies, the 3C industry faces problems such as inaccurate data, significant human factors, and waste of human resources when selecting standard products.
An automatic selection method based on color and gloss is adopted. The color Lab value and gloss G value of the product are obtained through a measuring device. Limit values and intervals are set, the interval is divided using the half-interval method, the distance between the product and the target product is calculated, and the closest product is automatically selected.
It enables precise selection of standard products, reduces labor costs, and improves data accuracy and efficiency.
Smart Images

Figure CN122076730A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of visual inspection technology, and in particular to a method for automatically selecting standard samples based on color and gloss. Background Technology
[0002] Currently, in the 3C industry, when selecting standard products, the color and gloss information of the products are measured manually using relevant instruments, and then the standard products are selected manually.
[0003] The above practices will bring many problems caused by human factors, such as: 1. Inaccurate data from manual measurement; 2. The standard sample selected when selecting products is not optimal (relying solely on human experience for screening); 3. Wasting a lot of manpower and time. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a method for automatically selecting standard samples based on color and gloss, which can accurately select standard sample products and save a lot of labor costs.
[0005] The technical solution adopted by this invention to solve its technical problem is: a method for automatically selecting standard samples based on color and gloss, comprising the following steps: S1. The color Lab value and gloss G value of multiple products are automatically measured by a measuring device; S2. Set the upper and lower limits for L, a, b and G values respectively, and remove products that do not meet the requirements according to the preset limits; S3. Set the material selection interval and standard value. Within the set upper and lower limits, divide the interval into ranges and select the target product. S4. Divide the divided intervals into subintervals using the half-interval method; S5. Calculate the distance of each product from the target product within the divided sub-intervals, and select the product with the smallest distance. S6. Repeat the above steps until the L value, a value, b value and G value have all been selected.
[0006] Furthermore, in step S1 of the present invention, each product is equipped with a QR code, and the measured color Lab data and gloss G data of each product are respectively bound to the QR code of the corresponding product.
[0007] Furthermore, in step S2 of the present invention, the limited value range of L is [-1, 1], the limited value range of a is [-1, 0.6], the limited value range of b is [-1, 0.6], and the limited value range of G is [-1, 1].
[0008] Furthermore, in step S3 of the present invention, the set interval is 0.1.
[0009] 5. Further, in step S4 of the present invention, the range of the sub-interval is ± for each target product. .
[0010] The beneficial effect of this invention is that it solves the defects existing in the prior art, and automatically matches the rules to complete the screening of standard sample products by setting the rules for screening products; using ± This approach divides the data into regions, reducing the amount of data computation; and employs a complete automated detection solution to achieve measurement and screening functions, resulting in better data authenticity and accuracy. Detailed Implementation
[0011] The present invention will now be described in further detail with reference to preferred embodiments.
[0012] A method for automatically selecting standard samples based on color and gloss for selecting iPhone products; since iPhone products have high requirements for color and gloss in appearance, the specifications for color and gloss are defined by using gradient samples and visually determining the acceptable range for this physical quantity that affects the senses.
[0013] In this embodiment, the color uses the Lab color space, and gloss is represented by G. The material selection logic revolves around these four values: Lab and G.
[0014] The actuator is a four-axis module. The product is placed inside the fixture to detect its color and gloss. A 2D camera acts as the machine vision system to determine the product's position. Based on pre-set rules for selecting standard samples, the software automatically matches the rules and outputs the selected standard samples. The detection sensors include a spectrophotometer and a gloss sensor. The entire process is as follows: 1. Use detection sensors to automatically measure the color and gloss of a batch of products. Bind the QR code on each product to the measured value to obtain the data source.
[0015] 2. Set limits for material selection.
[0016] The limit range for L value is [-1, 1], the limit range for a value is [-1, 0.6], the limit range for b value is [-1, 0.6], and the limit range for G value is [-1, 1].
[0017] Products falling outside the four categories of Lab G are eliminated.
[0018] 3. Set the material picking interval and standard value. The following only shows the L value. The material selection interval is 0.1; the standard value for L is 0.5, and the standard value for G is 0.5. For every 0.1 interval between L values from -1 to 1, one product needs to be selected. In other words, the ideal product data is (L, G): (-1, 0.5), (-0.9, 0.5), (-0.8, 0.5), ... (1, 0.5).
[0019] 4. Use half-intervals to divide products into different intervals. That is, L values in [-1, -0.95) are the first interval, [-0.95, -0.85) are the second interval, and so on; [-0.85, -0.75) ... [0.85, 0.95) [0.95, 1].
[0020] 5. Within each interval, calculate the distance of each product to the ideal product (target product) and select the interval with the smallest distance. For products with an L value in the range (-1, -0.95), the ideal product is (-1, 0.5) (L, G). For products with an L value in the range (-0.95, -0.85), the ideal product is (-0.9, 0.5) (L, G). And so on.
[0021] 6. The selection methods for a, b, and G values are the same as for L value.
[0022] The above description is only a specific embodiment of the present invention. Various examples and illustrations do not constitute a limitation on the substantive content of the present invention. Those skilled in the art can make modifications or variations to the above-described specific embodiments after reading the specification without departing from the substance and scope of the invention.
Claims
1. A method for automatically selecting standard samples based on color and gloss, characterized in that: Includes the following steps, S1. The color Lab value and gloss G value of multiple products are automatically measured by a measuring device; S2. Set the upper and lower limits for L, a, b and G values respectively, and remove products that do not meet the requirements according to the preset limits; S3. Set the material selection interval and standard value. Within the set upper and lower limits, divide the interval into ranges and select the target product. S4. Divide the divided intervals into subintervals using the half-interval method; S5. Calculate the distance of each product from the target product within the divided sub-intervals, and select the product with the smallest distance. S6. Repeat the above steps until the L value, a value, b value and G value have all been selected.
2. The method for automatically selecting standard samples based on color and gloss as described in claim 1, characterized in that: In step S1, each product is equipped with a QR code, and the measured color Lab data and gloss G data of each product are respectively bound to the corresponding product's QR code.
3. The method for automatically selecting standard samples based on color and gloss as described in claim 1, characterized in that: In step S2, the restricted range for the L value is [-1, 1], the restricted range for the a value is [-1, 0.6], the restricted range for the b value is [-1, 0.6], and the restricted range for the G value is [-1, 1].
4. The method for automatically selecting standard samples based on color and gloss as described in claim 1, characterized in that: In step S3, the interval is set to 0.
1.
5. The method for automatically selecting standard samples based on color and gloss as described in claim 4, characterized in that: In step S4, the range of the sub-interval is ± for each target product. .