CN111426386B - Colorimetric method, device and medium combining two-dimensional code colorimetric card - Google Patents

Colorimetric method, device and medium combining two-dimensional code colorimetric card Download PDF

Info

Publication number
CN111426386B
CN111426386B CN202010339974.8A CN202010339974A CN111426386B CN 111426386 B CN111426386 B CN 111426386B CN 202010339974 A CN202010339974 A CN 202010339974A CN 111426386 B CN111426386 B CN 111426386B
Authority
CN
China
Prior art keywords
color
dimensional code
area
code
colorimetric
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
Application number
CN202010339974.8A
Other languages
Chinese (zh)
Other versions
CN111426386A (en
Inventor
郑炜钢
钱之川
余旭光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Xiaofu Tech Co ltd
Original Assignee
Hangzhou Xiaofu Tech Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Xiaofu Tech Co ltd filed Critical Hangzhou Xiaofu Tech Co ltd
Priority to CN202010339974.8A priority Critical patent/CN111426386B/en
Publication of CN111426386A publication Critical patent/CN111426386A/en
Priority to PCT/CN2020/134202 priority patent/WO2021218156A1/en
Application granted granted Critical
Publication of CN111426386B publication Critical patent/CN111426386B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/46Measurement of colour; Colour measuring devices, e.g. colorimeters
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B42BOOKBINDING; ALBUMS; FILES; SPECIAL PRINTED MATTER
    • B42DBOOKS; BOOK COVERS; LOOSE LEAVES; PRINTED MATTER CHARACTERISED BY IDENTIFICATION OR SECURITY FEATURES; PRINTED MATTER OF SPECIAL FORMAT OR STYLE NOT OTHERWISE PROVIDED FOR; DEVICES FOR USE THEREWITH AND NOT OTHERWISE PROVIDED FOR; MOVABLE-STRIP WRITING OR READING APPARATUS
    • B42D25/00Information-bearing cards or sheet-like structures characterised by identification or security features; Manufacture thereof
    • B42D25/20Information-bearing cards or sheet-like structures characterised by identification or security features; Manufacture thereof characterised by a particular use or purpose
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding

Abstract

The invention provides a colorimetric method combined with a two-dimensional code colorimetric card, which comprises the following steps: acquiring a detection image; acquiring two-dimension code bearing information; a color identification area acquisition step; obtaining a standard comparison color average value; acquiring an average value of the color to be detected; the color comparison step, combine two-dimensional code and color comparison card in this scheme to prepare and obtain portable two-dimensional code color comparison card to the configuration software utilizes two-dimensional code color comparison card to detect the complexion, this mode not only can be compared through color comparison card combination colour identification technique and obtain accurate colour, and accessible two-dimensional code bears all kinds of information simultaneously, has can carry out all kinds of colour detection anytime and anywhere, and the colour detects accurately, easy and simple to handle's technological effect.

Description

Colorimetric method, device and medium combining two-dimensional code colorimetric card
Technical Field
The invention relates to the field of color comparison, in particular to a color comparison method, device and medium combined with a two-dimensional code color comparison card.
Background
Skin color refers to the color of the epidermis of human skin as reflected by various pigmentation factors such as melanin, protopanarubicin, and phyllanthin. The skin colors are distributed in different regions of people, for example, the skin colors of Asians are generally yellow, and the skin colors of Europe and Americans are generally white; the skin colors of people in the same area are different from each other, for example, the skin colors of some people are biased to dark yellow, while the skin colors of other people are biased to white, but the skin colors of different people are difficult to be accurately identified and judged by naked eyes because the skin color difference is not easy to be perceived.
Especially for women, the situation that the proper color number of the foundation liquid cannot be bought frequently occurs because most women do not know the specific color number of the skin color of the women, the bought color number is either too dark or too bright, and the color tone is either too pink or too yellow. In addition, the above troubles are also applicable to the case that the female is not aware of his lip color and the purchased lipstick number is not satisfactory.
Although the prior art also relates to the research of human skin color detection methods, for example, a skin color sample is put into a preset skin color model for detection, or a complex computer algorithm is used to calculate the skin color. However, if the accurate skin color of the human body is obtained by using the method, a detector needs to go to a specific skin color detection mechanism for detection, the cost is high, the time consumption is long, the method is not suitable for daily use at ordinary times, and the cost is considered, so that the method for detecting the skin color by using the accurate skin color detection model is not likely to be suitable for a scene when cosmetics need to be purchased according to the skin color when a cosmetic counter is used.
In addition, in the prior art, a method for obtaining skin color by color comparison through a color comparison card can be used, and the current color comparison card has two modes of a common color comparison card and a positioning color comparison card, so that the mode is different from the mode for detecting skin color through the skin color detection model, and the method has the advantages of capability of measuring skin color at any time and any place, low cost and short time consumption. The common colorimetric card is provided with pure standard color blocks, and a user observes and compares the pure standard color blocks through eyes to determine which standard color block the actual color of a detected object is closer to, and further approximately determine the color number of the detected object. The positioning colorimetric card is additionally provided with positioning points on the standard color blocks, and color resolution is carried out by acquiring images, but the mode has high requirement on the accuracy of image acquisition, needs horizontal shooting and cannot carry and bear other information.
Disclosure of Invention
The invention aims to provide a colorimetric method, colorimetric equipment and a colorimetric medium combined with a two-dimensional code colorimetric card.
The invention provides a colorimetric method combined with a two-dimensional code colorimetric card, which comprises the following steps:
a detection image acquisition step: acquiring an image of the two-dimensional code color comparison card, and placing an object to be detected in a region to be detected of the two-dimensional code color comparison card;
acquiring two-dimension code bearing information: scanning information code points on the two-dimensional code area to obtain corresponding bearing information, wherein the bearing information comprises but is not limited to software for bearing a color detection algorithm and two-dimensional code content information;
a color identification area acquisition step: identifying a standard color area and an area to be detected on the two-dimensional code colorimetric card;
standard comparison color average value obtaining step: extracting information code points in the standard color zone, and counting the average color of the information code points in the specific standard color zone to obtain the average value of the standard comparison color corresponding to the standard color zone;
obtaining the average value of the colors to be detected: equally dividing the area to be detected into combinations of the code points to be detected, and counting the average color of the code points to be detected to obtain the average value of the color to be detected corresponding to the area to be detected;
a colorimetric step: and comparing the average value of the color to be detected with the average value of the standard comparison color, and taking the average value of the standard comparison color with the minimum difference value as the final detection color.
The two-dimensional code colorimetric card comprises a carrier, a two-dimensional code area and a to-be-detected area, wherein the two-dimensional code area is composed of a series of information code points bearing information and is displayed on the carrier, the to-be-detected area forms a hole on the carrier, the two-dimensional code area further comprises at least one standard color area, the same color value and the color are displayed in the same standard color area, and different color values and the colors are displayed between different standard color areas.
According to another aspect of the present invention there is provided a colorimetric apparatus incorporating a two-dimensional code colorimetric card comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any one of claims 1 to 8 are performed by the processor when the program is executed.
According to another aspect of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program characterized in that: the computer program realizes the steps of the above method when executed by a processor.
Compared with the prior art, the technical scheme has the following characteristics and beneficial effects:
1. this scheme is original and is changed the black pixel point on traditional black and white two-dimensional code into the colour gamut of different color values, forms two-dimensional code colour comparison card, and forms the cavity that does not influence the two-dimensional code and bear information on the two-dimensional code colour comparison card, utilizes different colour gamuts to carry out the measuring of the colour in the region that awaits measuring as standard colour gamut, has the advantage that the measuring is convenient, the measuring accuracy is high, the detection time place is unrestricted.
2. The two-dimensional code of this scheme bears the information and can correspond and bear the little letter applet that disposes the colour detection algorithm, the APP procedure, information such as H5 page information, the user sweeps the software equipment that acquires on the code two-dimensional code line and bear the colour detection algorithm through electronic equipment, shoot this two-dimensional code colour comparison card simultaneously, colour detection algorithm combines colour detection technique and colour comparison technique to obtain accurate colour testing result, can convenient to use person carry out accurate colour value detection anytime and anywhere through such setting up mode.
3. The color detection algorithm of the scheme preprocesses the two-dimensional code colorimetric card based on the shape characteristics of the two-dimensional code, corrects image deformation caused by different angles of the shot image, eliminates background interference, and improves the precision and effect of subsequent color value detection.
4. The color detection algorithm provided by the scheme is used for calculating the average value of the standard color area on the two-dimensional code colorimetric card to obtain the color average value of the standard color area, performing color identification on the color of the area to be detected to obtain the color average value, and then performing color value difference comparison to obtain a final accurate detection result.
Drawings
Fig. 1 is a schematic structural diagram of a two-dimensional code color chart according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a card designed by using a two-dimensional code colorimetric card according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a standard color gamut acquisition stage in a colorimetric method combining a two-dimensional code colorimetric card according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a standard color space color average value obtaining stage in a colorimetric method combined with a two-dimensional code colorimetric card according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of a stage of obtaining a color average value of a region to be measured in a colorimetric method combining a two-dimensional code colorimetric card according to an embodiment of the present invention.
Fig. 6 is a schematic flow chart of a colorimetric method in combination with a two-dimensional code colorimetric card according to an embodiment of the present invention.
In the figure: 10-carrier, 20-two-dimensional code area, 21-standard color area, 22-code eye, 30-area to be detected and 31-detection area.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present invention.
It will be understood by those skilled in the art that in the present disclosure, the terms "longitudinal," "lateral," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for ease of description and simplicity of description, and do not indicate or imply that the referenced devices or components must be constructed and operated in a particular orientation and thus are not to be considered limiting.
It is understood that the terms "a" and "an" should be interpreted as meaning that a number of one element or element is one in one embodiment, while a number of other elements is one in another embodiment, and the terms "a" and "an" should not be interpreted as limiting the number.
The scheme provides a colorimetric method, colorimetric equipment and colorimetric medium which are combined with a two-dimensional code colorimetric card, the colorimetric method is combined with the two-dimensional code colorimetric card to measure the color of a region to be detected, and the colorimetric method has the advantages of convenience in detection, high detection precision and no limitation on detection time and place.
As shown in fig. 1, the structure of the two-dimensional code colorimetric card provided by the present scheme is shown, the two-dimensional code colorimetric card includes a carrier 10, a two-dimensional code area 20 and an area to be measured 30, wherein the two-dimensional code area 20 is composed of a series of information code points for bearing information and is displayed on the carrier 10, wherein the area to be measured 30 forms a hole on the carrier 10, wherein the two-dimensional code area 20 further includes at least one standard color area 21, the same color value and the color are displayed in the same standard color area 21, and different color values and colors are displayed between different color areas 21.
The carrier 10 may be paper, cardboard, film or other material capable of printing the two-dimensional code, and the present embodiment is not limited in this respect.
The shape of the two-dimensional code region 20 is not limited, and may be used to carry information. In the embodiment of the present disclosure, the two-dimensional code area 20 is square, at this time, the two-dimensional code area 20 is regularly displayed on the carrier 10, the four corners of the two-dimensional code area 20 are respectively provided with code holes 22, and in addition, different arrangement sequences of the information code points on the two-dimensional code area 20 correspondingly bear different information, and the generation of the two-dimensional code is related to the prior art, which is not described herein too much.
The information carried by the two-dimensional code area 20 may be information such as a wechat applet, an APP program, and H5 page information configured with a color detection algorithm, for example, a user may open a corresponding wechat applet by scanning the two-dimensional code area 20 on a wechat, or may open a corresponding APP program download address by scanning the two-dimensional code area 20 on a mobile phone side or a PC side, which may be IOS software, Android software or PC software, or may open a corresponding H5 page by scanning the two-dimensional code area 20 on a web page side.
Alternatively, in other embodiments, the information carried by the two-dimensional code area 20 may be user information, such as a user ID, a user past color measurement record, and the like. That is, the information carried by the two-dimensional code area 20 can be replaced according to actual requirements.
In an embodiment of the present disclosure, the region to be measured 30 is surrounded by the two-dimensional code region 20, which is beneficial to comparing the colors displayed on the region to be measured and the two-dimensional code region 20, and also reducing the volume of the two-dimensional code color comparison card. In an embodiment of the present disclosure, the two-dimensional code area 20 is a square with a small hole therein, wherein the area corresponding to the small hole is the area to be measured 30.
In some embodiments, the region to be measured 30 is a small square region disposed within the two-dimensional code region 20, and preferably, the center position of the small square region and the center position of the large square region coincide.
As shown in fig. 3, in an embodiment of the present disclosure, the standard color regions 21 on the two-dimensional code region 20 are adjacently disposed at the edge of the two-dimensional code region 20, and preferably, the color value differences of the adjacent standard color regions 21 are close.
In the embodiment of the present scheme, the two-dimensional code colorimetric card can be used for accurately comparing skin color and lip color, a standard color zone 21 corresponding to the skin color is set on the two-dimensional code zone 20, and the color zone values and colors are respectively:
color number 1 skin color zone: CMYK (17,25, 47, 4); color number 2 skin color zone: CMYK (20, 25, 50, 6); color number 3 skin color zone: CMYK (23,31,53, 9); color number 4 skin color zone: CMYK (26,34,56, 12); color number 5 skin color zone: CMYK (29,36,59, 16); color number 6 skin color zone: CMYK (32,39,62, 21); color number 7 skin color zone: CMYK (34,42,66, 25); color number 8 skin color zone: CMYK (36,45,70, 31); color number 9 skin color zone: CMYK (37,48,74, 36); skin color zone color number 10: CMYK (38,52,80, 42); color number 11 skin color zone: CMYK (40,56,85, 48); color number 12 skin color zone: CMYK (42,59,93, 50); skin color zone color number 13: CMYK (44,62,94, 53); color number 14 skin color zone: CMYK (48,65,100, 57); skin color zone color number 15: CMYK (53,68,100, 62).
Lip color zone color number 1: CMYK (0,49,31, 0); lip color zone number 2 color value: CMYK (0,63,42, 0); lip color zone color number 3: CMYK (0,76,57, 0); lip color number 4: CMYK (0, 87,75, 0); lip color zone number 5 color value: CMYK (0,100, 0); lip color number 6: CMYK (7,100, 2); lip color zone No. 7 color value: CMYK (12,100, 6); lip color zone number 8 color value: CMYK (17,100, 14); lip color zone color number 9: CMYK (22,100, 26); lip color zone number 10 color value: CMYK (28,100, 39); lip color zone color No. 11: CMYK (0,95, 37, 0); lip color zone color number 12: CMYK (4,100,43, 1); lip color zone number 13 color value: CMYK (13,100,47, 6); lip color zone number 14 color value: CMYK (20,100,47, 14); lip color zone number 15 color value: CMYK (24,100,46, 25).
Of course, the color value of the color area in the scheme can be changed according to actual requirements.
As shown in fig. 2, the two-dimensional code colorimetric card provided by the scheme can be printed on a business card for display, that is, the scheme provides a business card on which the two-dimensional code colorimetric card of the scheme is printed. At this time, after the user acquires the business card, the electronic device scans the two-dimensional code area 20 on the business card and acquires software correspondingly bearing a color detection algorithm, then the object to be detected is placed in the area to be detected 30, the electronic device takes a picture to acquire the image at this time, and the color of the object to be detected 30 is acquired by using the color detection algorithm of the software. It should be noted that the color detection algorithm adds up the colorimetric trimming calibration technique to the original color identification technique, so as to more accurately obtain the color of the object 30.
It should be mentioned that, in this scheme, because the two-dimensional code area 20 bears the software of the color detection algorithm, the user can obtain the detection software by directly scanning the two-dimensional code area 20, such a way can facilitate the user to perform color detection anytime and anywhere, and the information code point on the two-dimensional code area 20 is originally used as the standard color area 21, so as to reduce the volume of the whole two-dimensional code color card, when in actual use, the standard color value can be obtained by obtaining the color of the area to be detected 30 and comparing the color, especially for the colors such as skin color, lip color, etc., the standard color value can be used for the user to select the corresponding appropriate skin care and makeup products.
In addition, the present scheme provides a colorimetric method combining a two-dimensional code colorimetric card, where the two-dimensional code colorimetric card is used as described above, and it is worth mentioning that, in order to better implement color detection, information corresponding to the two-dimensional code colorimetric card is configured in a color detection algorithm used in the present scheme, for example, an area of a standard color zone 21 and an area of an area to be detected 30 on the two-dimensional code colorimetric card are configured.
The colorimetric method combining the two-dimensional code colorimetric card comprises the following steps:
a detection image acquisition step: acquiring an image of the two-dimensional code color comparison card, and placing an object to be detected in a region to be detected 30 of the two-dimensional code color comparison card;
acquiring two-dimension code bearing information: scanning information code points on the two-dimensional code area 20 to obtain corresponding bearing information, wherein the bearing information includes but is not limited to software for bearing a color detection algorithm and two-dimensional code content information;
a color identification area acquisition step: identifying a standard color area 21 and an area to be detected 30 on the two-dimensional code colorimetric card;
standard comparison color average value obtaining step: extracting the information code points in the standard color zone 21, and counting the average color of the information code points of the specific standard color zone 21 to obtain the average value of the standard comparison colors corresponding to the standard color zone 21;
obtaining the average value of the colors to be detected: equally dividing the region to be detected 30 into the combination of the code points to be detected, and counting the average color of the code points to be detected to obtain the average value of the color to be detected corresponding to the region to be detected 30;
a colorimetric step: and comparing the average value of the color to be detected with the average value of the standard comparison color, and taking the average value of the standard comparison color with the minimum difference value as the final detection color.
In the step of acquiring the two-dimensional code bearing information, the bearing information may be information such as a WeChat applet, an APP program, and H5 page information configured with a color detection algorithm. Moreover, the carried information may also be personal information of the user, for example, when the two-dimensional code colorimetric card is used for skin color health management, the previous skin color condition of the user may be obtained by scanning the information in the two-dimensional code area 20 to obtain a better skin color health management effect. Of course, the information carried by the two-dimensional code area 20 is not particularly limited, and can be customized according to actual needs.
The two-dimensional code content information includes basic information of the two-dimensional code, and at least includes the number of code points in the two-dimensional code area 20, the size of the two-dimensional code area 20, the size and the position of the area to be measured 30, and the standard color area distribution condition of the two-dimensional code area 20.
Before the step of obtaining the color identification area, the colorimetric method combining the two-dimensional code colorimetric card further comprises an image processing stage: and eliminating image background interference and correcting image deformation.
Specifically, the content of the image processing stage is as follows:
acquiring the central position of the code eye 22 positioned at the four-angle position on the two-dimensional code area 20 and the content information of the two-dimensional code by using a standard two-dimensional code identification algorithm, and calculating the pixel value of each code point and the pixel value of the two-dimensional code area 20 according to the two code eyes 22 in the same row, the size of the two-dimensional code area 20 and the number of code points;
and respectively moving the center positions of the four code eyes 22 of the two-dimensional code area 20 outwards for a set code point distance to obtain corresponding area points, wherein the set code point distance is the distance from the center position of the code eye to the frame of the two-dimensional code, and carrying out affine change and cutting on the image obtained in the detection image obtaining step according to the area points to obtain a processed image.
In this embodiment, any one of the four area points may be defined as the origin of coordinates, and the pixel values of the two-dimensional code area 20 are used to obtain the coordinate values of the other three area points.
For example, in a specific embodiment of the present disclosure, if the distance between two code eyes 22 in the same row is 300 pixel points, the pixel value of each code point is calculated to be 10 × 10, and the size of the entire two-dimensional code is known to be 37 × 37 code points, so that the pixel value of the entire two-dimensional code is obtained to be 370 × 370; and moving the central position of the upper left code eye by 3.5 code points upwards to the left, moving the central position of the upper right code eye by 3.5 code points upwards to the right, moving the central position of the lower left code eye by 3.5 code points downwards to the left, and moving the central position of the lower right code eye by 6.5 code points downwards to the right. The coordinates of the upper left region point are defined as (0,0), the coordinates of the upper right region point are defined as (0,370), the coordinates of the lower left region point are defined as (370,0), and the coordinates of the lower right region point are defined as (370 ).
In the color identification area obtaining step, the standard color area 21 and the area to be measured 20 on the two-dimensional code area 20 are respectively obtained according to the standard color area distribution condition borne by the two-dimensional code area 20 and the size position of the area to be measured 30. It should be noted that in this scheme, because the corresponding carrying information is obtained by scanning the two-dimensional code region 20, the adaptability of the color detection algorithm is also improved, the operation pressure is reduced, and the operation precision is improved.
The schematic diagram of the standard comparison color average value obtaining step is shown in fig. 4, the standard color region 21 is composed of color information code points and white color code points, the color information code points are reserved after the white color code points are removed, the colors of the pixels where the color information code points are located are calculated, the average value is obtained, and the standard comparison color average value is obtained.
It should be noted that, in order to obtain a more accurate average value of the standard comparison colors, the color information code points with the maximum chromaticity and the minimum chromaticity are removed to obtain effective information code points, and the colors of the pixels where the effective information code points are located are calculated and the average value is obtained to obtain the average value of the standard comparison colors.
The schematic diagram of the step of obtaining the average value of the colors to be detected is shown in fig. 5, the area 30 to be detected is equally divided into equal code points to be detected, the code point of the central area of the area 30 to be detected is taken for calculation, specifically, the detection area 31 with the length and width half the length and width of the area to be detected is taken at the central position of the area 30 to be detected, so that a more accurate detection result can be obtained, and color confusion caused by mixing of the peripheral colors and the information code points of the two-dimensional code area 20 is avoided.
The average value of the colors of the pixels where the detection code points of the detection area 31 are located is obtained, in some embodiments, the code points with the maximum chromaticity and the minimum chromaticity in the detection code points are removed, and the average value of the colors of the pixels where the remaining detection code points are located is obtained to obtain the average value of the colors to be detected.
According to another aspect of the present invention, there is provided an apparatus for combining two-dimensional code color cards, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program and the steps of the method described above.
In addition, the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that: the computer program realizes the steps of the method when executed by a processor.
It should be recognized that embodiments of the present invention can be realized and implemented by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer readable memory. The methods may be implemented in a computer program using standard programming techniques, including a non-transitory computer-readable storage medium configured with the computer program, where the storage medium so configured causes a computer to operate in a specific and predefined manner, according to the methods and figures described in the detailed description. Each program may be implemented in a high level procedural or object oriented programming language to communicate with a computer system. However, the program(s) can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language. Furthermore, the program can be run on a programmed application specific integrated circuit for this purpose.
Further, the operations of processes described herein can be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The processes described herein (or variations and/or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions, and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) collectively executed on one or more processors, by hardware, or combinations thereof. The computer program includes a plurality of instructions executable by one or more processors.
The specific use process of the method for combining the two-dimensional code color comparison card provided by the scheme is as follows, a user obtains the business card by using electronic equipment and scans the two-dimensional code area 20 on the business card, jumps out a corresponding WeChat applet configured with a color detection algorithm on the WeChat, places the two-dimensional code color comparison card corresponding to the business card on an object to be detected and takes a picture to obtain an image at the moment, and detects the color of the object to be detected by using image information.
The present invention is not limited to the above-mentioned preferred embodiments, and any other products in various forms can be obtained by anyone in the light of the present invention, but any changes in the shape or structure thereof, which have the same or similar technical solutions as those of the present application, fall within the protection scope of the present invention.

Claims (10)

1. A colorimetric method combined with a two-dimensional code colorimetric card is characterized by comprising the following steps:
a detection image acquisition step: acquiring an image of the two-dimensional code color comparison card, and placing an object to be detected in a region (30) to be detected of the two-dimensional code color comparison card;
acquiring two-dimension code bearing information: scanning information code points on a two-dimensional code area (20) to obtain corresponding bearing information, wherein the bearing information comprises but is not limited to software for bearing a color detection algorithm and two-dimensional code content information, the two-dimensional code area (20) further comprises at least one standard color area (21), the same color value color is displayed in the same standard color area (21), and different color value colors are displayed among different color areas (21);
a color identification area acquisition step: identifying a standard color area (21) and a to-be-detected area (30) on the two-dimensional code colorimetric card;
standard comparison color average value obtaining step: extracting information code points in the standard color area (21), and counting the average color of the information code points of the specific standard color area (21) to obtain a standard comparison color average value corresponding to the standard color area (21);
obtaining the average value of the colors to be detected: equally dividing the region (30) to be detected into combinations of the code points to be detected, and counting the average color of the code points to be detected to obtain the average value of the color to be detected corresponding to the region (30) to be detected;
a colorimetric step: and comparing the average value of the color to be detected with the average value of the standard comparison color, and taking the average value of the standard comparison color with the minimum difference value as the final detection color.
2. The colorimetric method in combination with the two-dimensional code colorimetric card according to claim 1, wherein the two-dimensional code colorimetric card comprises a carrier (10), a two-dimensional code area (20) and a region to be measured (30), wherein the two-dimensional code area (20) is composed of a series of information code dots carrying information and is displayed on the carrier (10), and wherein the region to be measured (30) forms a hole on the carrier (10).
3. The colorimetric method combined with the two-dimensional code colorimetric card according to claim 1, wherein the two-dimensional code content information includes basic information of the two-dimensional code, including at least the number of code dots in the two-dimensional code area (20), the size of the two-dimensional code area (20), the size and position of the area to be measured (30), and the standard color area distribution of the two-dimensional code area (20).
4. The colorimetric method combined with the two-dimensional code colorimetric card according to claim 1, comprising an image processing stage before the color identification region acquisition step, wherein the image processing stage: and eliminating image background interference and correcting image deformation.
5. The colorimetric method based on the two-dimensional code colorimetric card according to claim 1, wherein in the step of obtaining the standard comparison color average value, the standard color region (21) is composed of color information code points and white color code points, the color information code points are retained after the white color code points are removed, the colors of the pixels where the color information code points are located are calculated, and the average value of the standard comparison colors is obtained by averaging.
6. The colorimetric method based on the two-dimensional code colorimetric card according to claim 5, wherein the color information code points with the maximum chromaticity and the minimum chromaticity are removed to obtain the effective information code points, and the color of the pixel where the effective information code points are located is calculated and averaged to obtain the average value of the standard comparison color.
7. The colorimetric method based on the two-dimensional code colorimetric card according to claim 1, wherein in the step of obtaining the average value of the color to be measured, the code point of the central area of the area (30) to be measured is calculated.
8. The colorimetric method based on the two-dimensional code colorimetric card according to claim 7, wherein a detection area (31) having a length width half the length width of the area to be detected is provided at the center of the area to be detected (30), and an average value of colors of pixels where detection code points of the detection area (31) are provided is obtained to obtain an average value of colors to be detected.
9. A colorimetric device incorporating a two-dimensional code colorimetric card comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any of claims 1 to 8 are performed by the processor when the program is executed.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when executed by a processor implements the steps of the method of any of claims 1 to 8 above.
CN202010339974.8A 2020-04-26 2020-04-26 Colorimetric method, device and medium combining two-dimensional code colorimetric card Active CN111426386B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010339974.8A CN111426386B (en) 2020-04-26 2020-04-26 Colorimetric method, device and medium combining two-dimensional code colorimetric card
PCT/CN2020/134202 WO2021218156A1 (en) 2020-04-26 2020-12-07 Color matching method and apparatus combining two-dimensional code with color matching card, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010339974.8A CN111426386B (en) 2020-04-26 2020-04-26 Colorimetric method, device and medium combining two-dimensional code colorimetric card

Publications (2)

Publication Number Publication Date
CN111426386A CN111426386A (en) 2020-07-17
CN111426386B true CN111426386B (en) 2021-03-30

Family

ID=71556906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010339974.8A Active CN111426386B (en) 2020-04-26 2020-04-26 Colorimetric method, device and medium combining two-dimensional code colorimetric card

Country Status (2)

Country Link
CN (1) CN111426386B (en)
WO (1) WO2021218156A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111426386B (en) * 2020-04-26 2021-03-30 杭州小肤科技有限公司 Colorimetric method, device and medium combining two-dimensional code colorimetric card
CN113933293A (en) * 2021-11-08 2022-01-14 中国联合网络通信集团有限公司 Concentration detection method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205388575U (en) * 2016-03-02 2016-07-20 长沙展讯信息科技有限公司 Test paper detects card

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2461481Y (en) * 2000-08-17 2001-11-28 上海第二医科大学附属瑞金医院 Skin scar colorimetric card and skin scar colorimetric implement and colorimetric disk therefrom
GB201000835D0 (en) * 2010-01-19 2010-03-03 Akzo Nobel Coatings Int Bv Method and system for determining colour from an image
CN104000593B (en) * 2014-06-12 2017-01-25 北京爱肌肤科技有限公司 Skin test method
WO2016163266A1 (en) * 2015-04-06 2016-10-13 コニカミノルタ株式会社 Color measuring device and color measuring method
EP3113083A3 (en) * 2015-07-01 2017-02-01 Dimitri Marinkin Method for protecting the authenticity of an object, item, document, packaging and/or a label from imitation, forgery and theft
CN106991679A (en) * 2017-03-16 2017-07-28 四川大学 One kind quantifies recognition methods based on cloud platform urine test paper physical signs
CN108009460A (en) * 2017-12-29 2018-05-08 姚佑霖 The recognition methods of various characters and the superposition Quick Response Code of numeral mixing under complex background
CN108875832A (en) * 2018-06-22 2018-11-23 深圳市掌医科技有限公司 A kind of colorimetric analysis system
US11010809B2 (en) * 2018-09-12 2021-05-18 L'oreal Advanced techniques for improved product photography, interactivity, and information distribution
CN209498973U (en) * 2018-12-24 2019-10-18 杭州小肤科技有限公司 Induction light modulation dressing glass
CN210198569U (en) * 2019-01-17 2020-03-27 柳州康云互联科技有限公司 Colorimetric card based on two-dimensional code
CN210198567U (en) * 2019-01-17 2020-03-27 柳州康云互联科技有限公司 Color comparison card based on ARmarker
CN210198568U (en) * 2019-01-17 2020-03-27 柳州康云互联科技有限公司 Colorimetric card combined with ARmarker
CN110659710A (en) * 2019-10-09 2020-01-07 陈浩能 Encoding indication label, accurate identification method and intelligent processing system
CN111426386B (en) * 2020-04-26 2021-03-30 杭州小肤科技有限公司 Colorimetric method, device and medium combining two-dimensional code colorimetric card

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205388575U (en) * 2016-03-02 2016-07-20 长沙展讯信息科技有限公司 Test paper detects card

Also Published As

Publication number Publication date
CN111426386A (en) 2020-07-17
WO2021218156A1 (en) 2021-11-04

Similar Documents

Publication Publication Date Title
EP3000386B1 (en) Skin function evaluation device and skin evaluation method
CN111426386B (en) Colorimetric method, device and medium combining two-dimensional code colorimetric card
EP3249562B1 (en) Method for obtaining care information, method for sharing care information, and electronic apparatus therefor
US7522769B2 (en) Method and system for skin color estimation from an image
EP1189536B1 (en) Skin imaging and analysis methods
US11324438B2 (en) Information processing apparatus, information processing method, and non-transitory computer-readable medium for acquiring and displaying a skin condition analysis result based on an epidermis image
CN106791759B (en) The bearing calibration of medical display color uniformity and correction system
CN109741281A (en) Image processing method, device, storage medium and terminal
US20180263551A1 (en) Information processing apparatus, information processing method, and program
CN111062891A (en) Image processing method, device, terminal and computer readable storage medium
EP3466324A1 (en) Skin diagnostic device and skin diagnostic method
US11192100B2 (en) Multi-factor urine test system that adjusts for lighting and timing
JPWO2018003395A1 (en) Image processing apparatus and image processing method
CN109961426A (en) A kind of detection method of face skin skin quality
CN108510477B (en) Method and device for positioning color block of test paper
CN111914604A (en) Augmented reality display method for applying hair color to eyebrow
KR101647318B1 (en) Portable device for skin condition diagnosis and method for diagnosing and managing skin using the same
EP4131065A1 (en) Skin color detection method and apparatus, terminal and storage medium
KR102090066B1 (en) Method, electornic apparatus and system for recommending of product to each of customers
EP2924610A2 (en) Flesh color detection condition determining apparatus, and flesh color detection condition determining method
CN211954422U (en) Two-dimensional code colorimetric card and business card using same
KR101384784B1 (en) Methods for detecting optimal position for mobile device
WO2008108763A1 (en) Method and system for skin color estimation from an image
CN114190894A (en) Color spot non-contact measuring method, device, processor and storage medium
CN111047669A (en) Color taking method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant