KR102572885B1 - Apparatus for predicting use-by date of product through measurement of chromaticity change of discoloration material and method thereof - Google Patents

Apparatus for predicting use-by date of product through measurement of chromaticity change of discoloration material and method thereof Download PDF

Info

Publication number
KR102572885B1
KR102572885B1 KR1020210150230A KR20210150230A KR102572885B1 KR 102572885 B1 KR102572885 B1 KR 102572885B1 KR 1020210150230 A KR1020210150230 A KR 1020210150230A KR 20210150230 A KR20210150230 A KR 20210150230A KR 102572885 B1 KR102572885 B1 KR 102572885B1
Authority
KR
South Korea
Prior art keywords
product
discoloration
chromaticity
area
index
Prior art date
Application number
KR1020210150230A
Other languages
Korean (ko)
Other versions
KR20230064762A (en
Inventor
박경진
Original Assignee
군산대학교산학협력단
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 군산대학교산학협력단 filed Critical 군산대학교산학협력단
Priority to KR1020210150230A priority Critical patent/KR102572885B1/en
Publication of KR20230064762A publication Critical patent/KR20230064762A/en
Application granted granted Critical
Publication of KR102572885B1 publication Critical patent/KR102572885B1/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F3/00Labels, tag tickets, or similar identification or indication means; Seals; Postage or like stamps
    • G09F3/02Forms or constructions
    • G09F3/0291Labels or tickets undergoing a change under particular conditions, e.g. heat, radiation, passage of time
    • G09F3/0294Labels or tickets undergoing a change under particular conditions, e.g. heat, radiation, passage of time where the change is not permanent, e.g. labels only readable under a special light, temperature indicating labels and the like
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/01Customer relationship services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics

Abstract

본 발명은 변색물질의 색도변화 측정을 통한 제품의 소비기한 예측 장치 및 그 방법에 관한 것이다. 본 발명에 따르면, 변색 물질의 색도 변환 측정을 통한 제품의 소비기한 예측 장치에 있어서, 복수의 변색 영역과 복수의 비변색 영역으로 구성된 변색 라벨과 제품의 QR 코드가 포함된 제품 식별 태그를 촬영한 이미지를 입력받는 입력부와, 상기 QR 코드에서 인식된 제품의 포장 시점으로부터 상기 제품의 보관 경과 시간을 파악하는 코드 분석부와, 상기 변색 라벨 내의 변색 영역 및 비변색 영역의 RGB 값으로부터 각각 제1 색도 인덱스 및 제2 색도 인덱스를 연산하여 색도 인덱스 쌍을 얻는 라벨 분석부와, 보관 경과 시간 별로 기 구축된 보관 온도에 따른 색도 인덱스 양상 데이터로부터, 현재 파악된 상기 제품의 보관 경과 시간 및 색도 인덱스 쌍과 매칭되는 보관 온도 값을 추출하는 온도 추출부, 및 상기 추출된 보관 온도 값을 기초로 상기 제품의 소비기한을 결정하는 소비기한 결정부를 포함한다.
본 발명에 따르면, 사용자 단말을 이용하여 제품 식별 태그에 포함된 변색 라벨의 색도 변화를 측정하여 제품의 보관 온도 값을 추정하고 이로부터 제품의 신선도를 파악하여 제품의 소비 기한을 예측할 수 있다.
The present invention relates to an apparatus and method for predicting the expiration date of a product by measuring the color change of a discoloration material. According to the present invention, in the apparatus for predicting the expiration date of a product through the measurement of the chromaticity conversion of a discoloring material, a product identification tag including a color-changing label composed of a plurality of discoloration areas and a plurality of non-discoloration areas and a QR code of the product is photographed. An input unit for receiving an image, a code analysis unit for determining the storage elapsed time of the product from the packaging point of the product recognized by the QR code, and a first chromaticity from the RGB values of the discoloration area and the non-discoloration area in the discoloration label, respectively. From the label analysis unit obtaining a chromaticity index pair by calculating the index and the second chromaticity index, and the chromaticity index aspect data according to the storage temperature previously established for each elapsed storage time, the currently identified storage elapsed time and chromaticity index pair of the product A temperature extraction unit extracts a matching storage temperature value, and an expiration date determining unit determines an expiration date of the product based on the extracted storage temperature value.
According to the present invention, it is possible to predict the expiration date of the product by measuring the color change of the discoloration label included in the product identification tag using the user terminal to estimate the storage temperature value of the product, and to determine the freshness of the product therefrom.

Description

변색물질의 색도변화 측정을 통한 제품의 소비기한 예측 장치 및 그 방법{Apparatus for predicting use-by date of product through measurement of chromaticity change of discoloration material and method thereof}Apparatus for predicting use-by date of product through measurement of chromaticity change of discoloration material and method thereof}

본 발명은 변색물질의 색도변화 측정을 통한 제품의 소비기한 예측 장치 및 그 방법에 관한 것으로서, 보다 상세하게는 사용자 단말을 이용하여 제품 식별 태그에 포함된 변색 라벨의 색도 변화를 측정하여 제품의 소비기한을 예측할 수 있는 제품의 소비기한 예측 장치 및 그 방법에 관한 것이다.The present invention relates to an apparatus and method for predicting the expiration date of a product by measuring the color change of a color-changing material, and more particularly, to a product consumption by measuring the color change of a color-change label included in a product identification tag using a user terminal. It relates to a device for predicting the expiration date of a product capable of predicting the expiration date and a method therefor.

현대 사회에서 유통되고 있는 상품 중에서 신선 식품, 냉동/냉장 식품 등으로 대표되는 식품은 실제 생활에서 가장 많이 소비하는 물품 중의 하나이며, 장기 저장이 곤란한 특성으로 인해 각 가정에서 구입 빈도가 가장 높은 품목 중의 하나에 속한다.Among the products distributed in modern society, food, represented by fresh food and frozen/refrigerated food, is one of the most consumed items in real life, and one of the most frequently purchased items in each household due to its difficult long-term storage characteristics. belong to one

그러나, 이러한 식품은 온도 등의 외부 요인에 의하여 신선도에 많은 영향을 받기 때문에 고품질의 생산품이라 하더라도 유통 및 보관 과정에서 변질, 부패, 감모 등과 같은 손실이 발생할 수 있다. However, since freshness of these foods is greatly affected by external factors such as temperature, even high-quality products may suffer losses such as deterioration, spoilage, and loss during distribution and storage.

이러한 점을 고려하여 냉동/냉장 차량 내부의 온도를 측정하여 식품의 온도를 관리하는 방법이 제안된 바 있다. 하지만, 이는 차량 내부 온도만 측정하는 것이어서 식품이 탑재되거나 하역 중에 겪게 되는 온도의 영향이 반영되지 못하며, 배송자의 실수 또는 내부 오류로 인하여 식품이 적정 온도가 아닌 환경에 노출되는 경우 이를 확인할 수 없다는 문제점이 있다. In consideration of this point, a method of managing the temperature of food by measuring the temperature inside a freezing/refrigerating vehicle has been proposed. However, since this only measures the temperature inside the vehicle, the effect of the temperature experienced during loading or unloading of food cannot be reflected, and it is not possible to check if the food is exposed to an environment that is not the proper temperature due to a mistake or internal error by the delivery person. there is

또한, 현행 유통기한은 잘 보존된 제품임에도 기간이 지났다는 이유만으로 폐기되는 등 주요 식량 낭비를 유도하는 원인으로 지적되고 있으며, 이를 사전 예방하기 위한 방법으로 소비기한 제도가 도입되고 있다. 하지만 소비기한의 경우도 보관 온도 등에 따라 달라질 수 있으므로 사전에 보관 온도를 바탕으로 한 소비기한을 제공할 필요가 있다.In addition, the current expiration date is pointed out as a major cause of food waste, such as being discarded just because the expiration date has passed even though it is a well-preserved product. However, since the expiration date may also vary depending on the storage temperature, etc., it is necessary to provide an expiration date based on the storage temperature in advance.

본 발명의 배경이 되는 기술은 한국등록특허 제10-0873579호(2008.12.12 공고)에 개시되어 있다. The background technology of the present invention is disclosed in Korean Patent Registration No. 10-0873579 (published on December 12, 2008).

본 발명은 사용자 단말을 이용하여 제품 식별 태그에 포함된 변색 라벨의 색도 변화를 측정하여 제품의 평균 보관 온도를 추정하고 이로부터 제품의 소비기한을 예측할 수 있는 변색물질의 색도변화 측정을 통한 제품의 소비기한 예측 장치 및 그 방법을 제공하는데 목적이 있다.The present invention estimates the average storage temperature of a product by measuring the chromaticity change of a discoloration label included in a product identification tag using a user terminal, and measures the chromaticity change of a discoloring material that can predict the expiration date of the product from this. An object of the present invention is to provide a device for predicting expiration date and a method therefor.

본 발명은, 변색 물질의 색도 변환 측정을 통한 제품의 소비기한 예측 장치에 있어서, 복수의 변색 영역과 복수의 비변색 영역으로 구성된 변색 라벨과 제품의 QR 코드가 포함된 제품 식별 태그를 촬영한 이미지를 입력받는 입력부와, 상기 QR 코드에서 인식된 제품의 포장 시점으로부터 상기 제품의 보관 경과 시간을 파악하는 코드 분석부와, 상기 변색 라벨 내의 변색 영역 및 비변색 영역의 RGB 값으로부터 각각 제1 색도 인덱스 및 제2 색도 인덱스를 연산하여 색도 인덱스 쌍을 얻는 라벨 분석부와, 보관 경과 시간 별로 기 구축된 보관 온도에 따른 색도 인덱스 양상 데이터로부터, 현재 파악된 상기 제품의 보관 경과 시간 및 색도 인덱스 쌍과 매칭되는 보관 온도 값을 추출하는 온도 추출부, 및 상기 추출된 보관 온도 값을 기초로 상기 제품의 소비기한을 결정하는 소비기한 결정부를 포함한다.In the present invention, in the apparatus for predicting product consumption by measuring the chromaticity conversion of a color-changing material, an image of a product identification tag including a color-changing label composed of a plurality of color-changing areas and a plurality of non-color-changing areas and a QR code of the product is photographed. An input unit for receiving , a code analysis unit for determining the storage elapsed time of the product from the packaging time of the product recognized by the QR code, and a first chromaticity index from the RGB values of the discolored area and the non-discolored area in the discoloration label, respectively. and a label analysis unit that obtains a chromaticity index pair by calculating a second chromaticity index, and matching the currently identified storage elapsed time and chromaticity index pair of the product from the previously established chromaticity index aspect data according to the storage temperature for each elapsed storage time. It includes a temperature extracting unit for extracting a storage temperature value to be stored, and an expiration date determining unit for determining an expiration date of the product based on the extracted storage temperature value.

또한, 상기 입력부는, 상기 변색 라벨과 상기 QR 코드가 포함된 제품 식별 태그를 플래시 온 및 오프 상태에서 각각 촬영한 한 세트의 이미지를 입력받으며, 상기 라벨 분석부는, 상기 한 세트의 이미지를 이용하여 상기 변색 영역과 비변색 영역으로부터 상기 제1 색도 인덱스 및 제2 색도 인덱스를 연산할 수 있다.In addition, the input unit receives a set of images in which the discoloration label and the product identification tag including the QR code are photographed in flash on and off states, respectively, and the label analysis unit uses the set of images The first chromaticity index and the second chromaticity index may be calculated from the discolored area and the non-discolored area.

또한, 상기 라벨 분석부는, 상기 변색 영역과 비변색 영역 각각에 대해, 상기 플래시 온 및 오프 상태에서 얻은 RGB 값 간의 편차를 이용하여 상기 복수의 변색 영역을 대표하는 상기 제1 색도 인덱스 및 상기 복수의 비변색 영역을 대표하는 상기 제2 색도 인덱스를 각각 연산할 수 있다.In addition, the label analysis unit may use the first chromaticity index representing the plurality of discoloration areas and the plurality of color discoloration areas by using a deviation between RGB values obtained in the flash on and off states for each of the discoloration area and the non-discoloration area. The second chromaticity index representing the non-discoloration area may be respectively calculated.

또한, 상기 라벨 분석부는, 상기 변색 라벨을 구성한 각 영역 별로, 해당 영역의 R,G,B 값을 플래시 온 및 오프에 따른 R,G,B값 간 편차값으로 대치한 후 CIE 색도 변환을 적용하여 각 영역에 대한 CIE 색도도 상의 (x,y) 좌표 값을 환산하고, 각 영역에 대해 환산된 (x,y) 좌표 값을 이용하여 상기 색도 인덱스 쌍을 획득할 수 있다.In addition, the label analysis unit applies CIE chromaticity conversion after substituting the R, G, and B values of the corresponding region for each region constituting the discoloration label with a deviation value between R, G, and B values according to flash on and off. Thus, the (x,y) coordinate values on the CIE chromaticity diagram for each region are converted, and the chromaticity index pair can be obtained using the converted (x,y) coordinate values for each region.

또한, 상기 라벨 분석부는, CIE 색도 좌표계의 원점으로부터 상기 복수의 변색 영역의 (x,y) 좌표 까지의 평균 거리를 연산하여 상기 제1 색도 인덱스를 획득하고, CIE 색도 좌표계의 원점으로부터 상기 복수의 비변색 영역의 (x,y) 좌표 까지의 평균 거리를 연산하여 상기 제2 색도 인덱스를 획득할 수 있다.In addition, the label analysis unit obtains the first chromaticity index by calculating an average distance from the origin of the CIE chromaticity coordinate system to the (x,y) coordinates of the plurality of discoloration areas, and obtains the plurality of chromaticity indexes from the origin of the CIE chromaticity coordinate system. The second chromaticity index may be obtained by calculating an average distance to (x,y) coordinates of the non-discoloration area.

또한, 상기 색도 인덱스 양상 데이터는, 상기 제1 및 제2 색도 인덱스의 축으로 구성된 2차원 공간 좌표계 상에 보관 온도 별로 다르게 존재하는 상기 색도 인덱스 쌍의 좌표에 대한 추세선이 등고선 형태로 매핑되어 있을 수 있다.In addition, in the chromaticity index aspect data, a trend line for the coordinates of the chromaticity index pair, which exist differently for each storage temperature on a two-dimensional spatial coordinate system composed of axes of the first and second chromaticity indices, may be mapped in the form of a contour line. there is.

또한, 상기 변색 라벨은, 상기 복수의 변색 영역과 상기 복수의 비변색 영역이 서로 매트릭스 형태로 조합된 형태를 가지며, 상기 변색 영역과 상기 비변색 영역은 초기에 동일 색상으로 구현될 수 있다.In addition, the color-changing label has a form in which the plurality of color-changing areas and the plurality of non-color-changing areas are combined in a matrix form, and the color-changing areas and the non-color-changing areas may initially be embodied in the same color.

또한, 상기 변색 영역은 시간과 온도에 따라 색상이 비가역적으로 변하는 소재로 형성될 수 있다.In addition, the discoloration area may be formed of a material whose color irreversibly changes with time and temperature.

또한, 상기 소비기한 결정부는, 상기 추출된 보관 온도 값을 이용하여 상기 제품에 대한 신선도 지수를 판단하고 상기 신선도 지수와 상기 제품의 잔여 유통 기한을 이용하여 상기 제품의 소비 기한을 예측할 수 있다.In addition, the consumption-by-date determining unit may determine a freshness index of the product using the extracted storage temperature value and predict the consumption-by-date of the product using the freshness index and the remaining shelf life of the product.

그리고, 본 발명은, 변색 물질의 색도 변환 측정을 통한 제품의 소비기한 예측 장치를 이용한 소비기한 예측 방법에 있어서, 복수의 변색 영역과 복수의 비변색 영역으로 구성된 변색 라벨과 제품의 QR 코드가 포함된 제품 식별 태그를 촬영한 이미지를 입력받는 단계와, 상기 QR 코드에서 인식된 제품의 포장 시점으로부터 상기 제품의 보관 경과 시간을 파악하는 단계와, 상기 변색 라벨 내의 변색 영역 및 비변색 영역의 RGB 값으로부터 각각 제1 색도 인덱스 및 제2 색도 인덱스를 연산하여 색도 인덱스 쌍을 얻는 단계와, 보관 경과 시간 별로 기 구축된 보관 온도에 따른 색도 인덱스 양상 데이터로부터, 현재 파악된 상기 제품의 보관 경과 시간 및 색도 인덱스 쌍과 매칭되는 보관 온도 값을 추출하는 단계, 및 상기 추출된 보관 온도 값을 상기 제품에 대한 평균 보관 온도 값으로 제공하는 단계를 포함한다.In addition, the present invention, in the consumption period prediction method using a product consumption period prediction device through measurement of chromaticity conversion of a color-changing material, includes a color-changing label composed of a plurality of discolored areas and a plurality of non-color-changing areas and a QR code of the product Receiving an image of a photographed product identification tag, figuring out the storage elapsed time of the product from the point of packaging of the product recognized in the QR code, and RGB values of the discolored area and non-discolored area in the discoloration label Obtaining a pair of chromaticity indexes by calculating a first chromaticity index and a second chromaticity index, respectively, from the elapsed storage time and chromaticity of the product currently identified from the previously established chromaticity index aspect data according to the storage temperature for each elapsed storage time Extracting a storage temperature value matching the index pair, and providing the extracted storage temperature value as an average storage temperature value for the product.

본 발명에 따르면, 사용자 단말을 이용하여 제품 식별 태그에 포함된 변색 라벨의 색도 변화를 측정하여 제품의 보관 온도 값을 추정하고 이로부터 제품의 신선도를 파악하여 제품의 소비 기한을 예측할 수 있다. According to the present invention, it is possible to predict the expiration date of the product by measuring the color change of the discoloration label included in the product identification tag using the user terminal to estimate the storage temperature value of the product, and to determine the freshness of the product therefrom.

이러한 본 발명의 경우 플래시 온 및 오프 상태에서 촬영된 두 장의 이미지를 활용하여 제품 식별 태그 내 변색 라벨의 색도 변화를 분석함으로써, 주변광 및 단말 기종의 차이에 따른 측정 오차를 최소화할 수 있으며, 환경 변화에 강인한 추정 성능을 제공할 수 있다.In the case of the present invention, measurement errors due to differences in ambient light and terminal models can be minimized by analyzing the change in chromaticity of the discoloration label in the product identification tag using two images taken with the flash on and off. It can provide estimation performance that is robust to changes.

도 1은 본 발명의 실시예에 따른 제품 소비기한 예측 시스템의 구성을 나타낸 도면이다.
도 2는 본 발명의 실시예에 따른 변색 라벨의 구성을 설명한 도면이다.
도 3은 도 1에 도시된 제품 소비기한 예측 장치의 구성을 나타낸 도면이다.
도 4는 도 3의 장치를 이용한 제품 소비기한 예측 방법을 설명한 도면이다.
도 5는 주변광 또는 단말 기종 차이로 인한 색도 차이를 예시한 도면이다.
도 6은 시간과 온도에 따른 변색 라벨의 색변화 추이를 예시적으로 나타낸 도면이다.
도 7은 색도 인덱스 양상 데이터를 구축하는 원리를 설명하는 도면이다.
도 8 및 도 9는 본 발명의 실시예에 따른 스마트폰을 활용한 색변 측정 활용 예시를 나타낸 도면이다.
1 is a diagram showing the configuration of a product consumption period prediction system according to an embodiment of the present invention.
2 is a diagram explaining the configuration of a discoloration label according to an embodiment of the present invention.
FIG. 3 is a diagram showing the configuration of the device for predicting product consumption period shown in FIG. 1 .
FIG. 4 is a diagram explaining a product consumption period prediction method using the apparatus of FIG. 3 .
5 is a diagram illustrating a difference in chromaticity due to ambient light or a difference in terminal model.
6 is a diagram showing the trend of color change of a discoloration label according to time and temperature by way of example.
Fig. 7 is a diagram explaining the principle of constructing chromaticity index aspect data.
8 and 9 are diagrams illustrating an example of color change measurement using a smartphone according to an embodiment of the present invention.

그러면 첨부한 도면을 참고로 하여 본 발명의 실시 예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다. Then, with reference to the accompanying drawings, an embodiment of the present invention will be described in detail so that those skilled in the art can easily practice it. However, the present invention may be implemented in many different forms and is not limited to the embodiments described herein. And in order to clearly explain the present invention in the drawings, parts irrelevant to the description are omitted, and similar reference numerals are attached to similar parts throughout the specification.

명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 소자를 사이에 두고 "전기적으로 연결"되어 있는 경우도 포함한다. 또한 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. Throughout the specification, when a part is said to be "connected" to another part, this includes not only the case where it is "directly connected" but also the case where it is "electrically connected" with another element interposed therebetween. . In addition, when a certain component is said to "include", this means that it may further include other components without excluding other components unless otherwise stated.

도 1은 본 발명의 실시예에 따른 사용자 단말 기반의 제품 소비기한 예측 시스템의 구성을 나타낸 도면이다. 1 is a diagram showing the configuration of a user terminal-based product consumption period prediction system according to an embodiment of the present invention.

도 1에 나타낸 것과 같이, 제품 소비기한 예측 시스템은 제품 식별 태그(10), 사용자 단말(200), 그리고 제품 소비기한 예측 장치(100)를 포함한다.As shown in FIG. 1 , the product expiration date prediction system includes a product identification tag 10 , a user terminal 200 , and a product expiration date prediction device 100 .

제품 소비기한 예측 장치(100)는 적어도 하나의 사용자 단말(200)과 각각 유선 네트워크, 무선 네트워크 혹은 유선과 무선이 결합된 네트워크를 통해 서로 연결되어 상호 통신하고 데이터를 송수신할 수 있다. 본 발명은 주로 무선 네트워크를 예시한다.The product consumption period prediction device 100 is connected to at least one user terminal 200 through a wired network, a wireless network, or a wired and wireless network, respectively, to communicate with each other and transmit and receive data. The present invention primarily exemplifies wireless networks.

제품 소비기한 예측 장치(100)는 네트워크 접속된 각 사용자 단말(200)에게 제품 식별 태그(10)의 촬영에 대응하여 이미지 분석을 기반으로 제품의 평균 보관 온도를 추정하고 이를 이용하여 제품의 신선도를 파악하여 제품의 소비기한을 예측 값으로 제공한다.The product consumption period prediction device 100 estimates the average storage temperature of the product based on image analysis in response to the photographing of the product identification tag 10 for each user terminal 200 connected to the network, and uses this to estimate the freshness of the product. It identifies and provides the product's expiration date as a predicted value.

제품 소비기한 예측 장치(100)는 제품의 식별 태그를 분석한 결과를 사용자 단말(200)에 제공하는 서버(플랫폼 서버) 그 자체에 해당할 수도 있지만, 사용자 단말(200) 상에 구동하여 관련 서비스를 제공하는 어플리케이션 등의 응용 프로그램의 형태를 가질 수 있다.The product consumption period prediction device 100 may correspond to a server (platform server) itself that provides the result of analyzing the identification tag of the product to the user terminal 200, but is driven on the user terminal 200 to provide related services. It may have the form of an application program such as an application that provides

제품 소비기한 예측 장치(100)는 사용자로부터 각종 정보의 등록 및 조회, 회원 가입 등이 이루어지는 모바일 앱(Application) 또는 웹(Web)으로 구현된 서비스 플랫폼(platform)을 네트워크 접속된 사용자 단말(200)에게 제공할 수 있다.The product consumption period prediction device 100 is a user terminal 200 connected to a network through a service platform implemented as a mobile application or web, in which registration and inquiry of various information from users, membership registration, etc. are performed. can be provided to

사용자 단말(200)은 카메라가 내장된 스마트 기기에 해당할 수 있으며, 예를 들어 스마트 폰(Smart Phone), 태블릿(Tablet), 노트북(Notebook) 등과 같이 유무선 네트워크에 접속하여 정보를 주고받을 수 있는 기기를 포함할 수 있다. 이하의 본 발명의 실시예는 주로 모바일 앱 기반의 플랫폼과 무선 네트워크를 예시한다. The user terminal 200 may correspond to a smart device having a built-in camera, and may access a wired or wireless network such as a smart phone, a tablet, or a notebook to exchange information. device may be included. The following embodiments of the present invention primarily illustrate mobile app-based platforms and wireless networks.

물론 사용자 단말(200)은 PC, 데스크탑 등을 더 포함할 수 있으며 이 경우 별도의 카메라 수단과 연결되어 구동할 수 있다. 이하의 본 발명의 실시예는 모바일 환경에서 구동하는 스마프 폰에 기반한 시스템을 대표 예시로 한다.Of course, the user terminal 200 may further include a PC, a desktop, and the like, and in this case, it may be connected to and driven by a separate camera unit. The embodiments of the present invention below take a system based on a smart phone running in a mobile environment as a representative example.

본 발명의 실시예에서 사용자 단말(200)은 단말에 설치된 모바일 앱을 통하여 서버와 접속되어 각종 데이터를 송수신 및 표출할 수 있고, 해당 앱 상에서 온라인 플랫폼 서비스를 제공받을 수 있다.In an embodiment of the present invention, the user terminal 200 is connected to a server through a mobile app installed in the terminal, can transmit, receive, and display various data, and can receive online platform services on the app.

여기서 사용자 단말(200)은 제품에 부착된 식별 태그를 촬영하고 촬영된 이미지를 제품 소비기한 예측 장치(100)로 제공한다. 이때, 사용자 단말(200)은 해당 서비스를 제공하는 전용 모바일 앱의 촬영 기능을 실행시킨 상태에서 제품에 부착된 식별 태그(10)를 촬영하고 촬영한 이미지를 제품 소비기한 예측 장치(100)로 전달한다.Here, the user terminal 200 photographs the identification tag attached to the product and provides the photographed image to the product consumption period prediction device 100 . At this time, the user terminal 200 photographs the identification tag 10 attached to the product in a state in which the photographing function of the dedicated mobile app providing the corresponding service is executed, and transmits the photographed image to the product expiration date prediction device 100. do.

이때, 모바일 앱은 촬영 버튼 선택 시에, 플래시 온과 오프 상태의 이미지를 자동으로 설정 간격(예: 1초)을 두고 연속 촬영할 수 있다. 이를 통하여 주변광, 간섭광을 포함한 촬영 환경 변화, 단말 기종 차이로 인한 측정 편차 및 오류를 최소화할 수 있다.In this case, the mobile app may automatically and continuously capture images in a flash on and off state at set intervals (eg, 1 second) when the photographing button is selected. Through this, it is possible to minimize measurement deviations and errors due to changes in the shooting environment including ambient light and interfering light, and differences in terminal models.

제품 식별 태그(10)는 도 1과 같이 변색 라벨이 존재한 영역과 QR 코드가 존재한 영역으로 구분된다. As shown in FIG. 1 , the product identification tag 10 is divided into an area where a discoloration label exists and an area where a QR code exists.

우선, 변색 라벨은 복수의 블록이 조합된 형태를 가지는데, 일부는 변색 영역이고 나머지는 비변색 영역(고정색 영역)에 해당한다. 이때, 변색 영역은 시간과 온도에 따라 색상이 비가역적으로 변하는 소재로 형성될 수 있다. First of all, the color-changing label has a combination of a plurality of blocks, some of which are color-changing areas and others correspond to non-color-changing areas (fixed color areas). At this time, the discoloration area may be formed of a material whose color irreversibly changes with time and temperature.

도 2는 본 발명의 실시예에 따른 변색 라벨의 구성을 설명한 도면이다. 2 is a diagram explaining the configuration of a discoloration label according to an embodiment of the present invention.

도 2와 같이, 변색 라벨은 복수의 변색 영역과 복수의 비변색 영역(고정색 영역)이 서로 매트릭스 형태로 조합 배열된 형태를 가질 수 있다.As shown in FIG. 2 , the color-changing label may have a form in which a plurality of color-changing areas and a plurality of non-color-changing areas (fixed color areas) are combined and arranged in a matrix form.

도 2에 나타낸 변색 라벨은 3열과 3행의 9개의 조각 영역들로 구성된다. 이때, 복수의 변색 영역과 복수의 비변색 영역(고정색 영역)은 반드시 도 2의 형태로 배열되는 것으로 한정되지 않으며, 보다 다양한 조합으로 배치될 수 있다. 아울러, 전체 영역 중 비변색 영역이 변색 영역보다 많은 수로 할당 수도 있으며, 각 영역의 할당 수와 배치는 보다 다양한 변형 예가 존재할 수 있다.The discoloration label shown in FIG. 2 is composed of 9 engraving areas of 3 columns and 3 rows. At this time, the plurality of color-changing areas and the plurality of non-color-changing areas (fixed color areas) are not necessarily arranged in the form of FIG. 2 and may be arranged in more diverse combinations. In addition, non-color-changing areas may be allocated in greater numbers than discoloration areas among the entire area, and the number and arrangement of each area may be more diversely modified.

또한, 변색 영역과 비변색 영역은 반드시 상술한 모양으로 한정되는 것이 아니라 원형, 삼각형 등 다양한 모양 혹은 패턴으로도 가능하다.In addition, the discoloration area and the non-discoloration area are not necessarily limited to the above-described shapes, but may also have various shapes or patterns, such as a circle or a triangle.

변색 영역과 비변색 영역은 초기에는 동일 색상으로 구현될 수 있으며, 시간과 온도의 영향에 따라 변색 영역의 부분만 색도 변화가 발생한다. 본 발명의 실시예는 초기 색상으로 파란색을 예시하고 있으나, 반드시 이에 한정되는 것은 아니다.The discoloration area and the non-discoloration area may initially be implemented with the same color, and only a portion of the discoloration area changes in chromaticity depending on the influence of time and temperature. Although the embodiment of the present invention exemplifies blue as the initial color, it is not necessarily limited thereto.

그 밖에도, 변색 영역과 비변색 영역은 초기에 서로 상이한 특정 색상으로 구현될 수도 있으며, 이 경우에도 시간과 온도의 영향에 따라 변색 영역의 부분만 색도 변화가 발생하게 된다.In addition, the discoloration area and the non-discoloration area may initially be embodied in specific colors different from each other, and even in this case, only a portion of the discoloration area changes in chromaticity under the influence of time and temperature.

변색 영역의 색상 변화는 시간 뿐만 아니라 온도의 영향을 받는다. 변색 영역은 초기에는 비변색 영역과 동일한 제1 색상을 가지거나 상이한 특정 색상을 가질 수 있으며, 시간과 온도에 따라 색상이 변하는 고분자 물질, 화학 물질 등을 포함한 소재로 구성될 수 있다. 이러한 변색 영역은 종이 혹은 필름지 위에 인쇄, 코팅, 도포 등의 방식으로 형성될 수 있다. The color change of the discolored area is affected by temperature as well as time. The discoloration area may initially have the same first color as the non-discoloration area or may have a specific color different from that of the non-discoloration area, and may be made of a material including a polymer material or a chemical substance whose color changes with time and temperature. The discolored area may be formed on paper or film paper by printing, coating, coating, or the like.

비변색 영역은 제1 색상을 갖는 염료, 잉크 등을 이용하여 해당 종이나 필름지 위에 인쇄, 코팅, 도포 등에 의해 형성될 수 있다. 비변색 영역은 별도의 보호 필름으로 코팅될 수 있다. 물론, 식별 태그의 전체가 보호 필름을 코팅될 수도 있다.The non-discoloration area may be formed by printing, coating, coating, or the like on a corresponding paper or film paper using a dye or ink having a first color. The non-discoloring area may be coated with a separate protective film. Of course, the entirety of the identification tag may be coated with a protective film.

식별 태그 내에 존재한 QR 코드는 제품에 관한 다양한 정보가 기록되어 있다. 예를 들어 QR 코드에는 제품명, 제조사, 롯트 번호, 제조일, 포장 시점, 유통기한 등에 관한 정보가 포함될 수 있다. The QR code present in the identification tag records various information about the product. For example, a QR code may contain information about product name, manufacturer, lot number, manufacturing date, packaging time, expiration date, and the like.

본 발명의 실시예에서 제품 소비기한 예측 장치(100)는 사용자 단말(200)로부터 제품 식별 태그(10)를 촬영한 이미지를 수신하면 태그 내에 존재한 QR 코드와 변색 라벨을 각각 분석하여 해당 제품에 대한 보관 온도 값을 추정하고 이를 이용하여 제품의 소비기한을 예측 결과로 제공한다. 본 발명의 실시예에서는 추정된 제품의 보관 온도 값을 제품의 평균 보관 온도 값으로 가정하고 이로부터 제품의 신선도 지수를 파악하여 제품의 소비기한을 결정한다.In an embodiment of the present invention, when the product consumption period prediction device 100 receives an image of the product identification tag 10 from the user terminal 200, it analyzes the QR code and the discolored label present in the tag, respectively, to identify the corresponding product. The storage temperature value for the product is estimated and using it, the consumption period of the product is provided as a prediction result. In the embodiment of the present invention, the estimated storage temperature value of the product is assumed to be the average storage temperature value of the product, and the freshness index of the product is determined therefrom to determine the expiration date of the product.

제품 소비기한 예측 장치(100)는 제품의 평균 보관 온도 추정 값을 기반으로 제품의 신선도를 유추하여 제품의 소비 기한을 예측한다. The product consumption period prediction device 100 predicts the product consumption period by inferring the freshness of the product based on the estimated value of the average storage temperature of the product.

따라서 제품 소비기한 예측 장치(100)는 제품 식별 태그(10)의 분석 결과로부터 추정된 해당 제품의 평균 보관 온도 값 뿐만 아니라, 평균 보관 온도로부터 파악된 제품의 신선도 상태를 이용하여 제품의 예측 가능한 소비 기간을 추가로 제공한다.Therefore, the product consumption period prediction device 100 uses the average storage temperature value of the product estimated from the analysis result of the product identification tag 10 as well as the freshness state of the product determined from the average storage temperature to predict consumption of the product. provide an additional period.

도 3은 도 1에 도시된 제품 소비기한 예측 장치의 구성을 나타낸 도면이고, 도 4는 도 3의 장치를 이용한 제품 소비기한 예측 방법을 설명한 도면이다.FIG. 3 is a diagram showing the configuration of the device for predicting product consumption date shown in FIG. 1 , and FIG. 4 is a diagram explaining a method for predicting product consumption date using the device shown in FIG. 3 .

도 3 및 도 4를 참조하면, 본 발명의 실시예에 따른 제품 소비기한 예측 장치(100)는 입력부(110), 코드 분석부(120), 라벨 분석부(130), 온도 추출부(140), 소비기한 결정부(150)를 포함한다. 여기서 각 부(110~150)의 동작 및 각 부 간의 데이터 흐름은 제어부(미도시)에 의해 제어될 수 있다.3 and 4, the product consumption period prediction device 100 according to an embodiment of the present invention includes an input unit 110, a code analysis unit 120, a label analysis unit 130, and a temperature extraction unit 140. , and includes an expiration date determination unit 150. Here, the operation of each unit 110 to 150 and data flow between each unit may be controlled by a controller (not shown).

먼저, 입력부(110)는 복수의 변색 영역과 주변의 복수의 비변색 영역으로 구성된 변색 라벨과 제품의 QR 코드가 포함된 제품 식별 태그(10)를 촬영한 이미지를 입력받는다(S410).First, the input unit 110 receives an image obtained by photographing the product identification tag 10 including the product identification tag 10 and a discoloration label composed of a plurality of discoloration areas and a plurality of surrounding non-discoloration areas (S410).

여기서, 입력부(110)는 변색 라벨과 QR 코드가 포함된 제품 식별 태그를 플래시 온 및 오프 상태에서 각각 촬영한 한 세트의 이미지를 입력받는다. 예를 들어, 사용자 단말(200)에 실행된 모바일 앱 구동 화면에서 촬영 버튼 선택 시 플래시 오프 상태의 이미지와 플래시 온 상태의 이미지를 연속 촬영할 수 있다. Here, the input unit 110 receives a set of images in which a product identification tag including a discoloration label and a QR code is photographed in flash on and off states, respectively. For example, when a photographing button is selected on a mobile app driving screen executed in the user terminal 200, an image in a flash-off state and an image in a flash-on state may be continuously photographed.

도 5는 주변광 또는 단말 기종 차이로 인한 색도 차이를 예시한 도면이다.5 is a diagram illustrating a difference in chromaticity due to ambient light or a difference in terminal model.

도 5와 같이, 스마트폰에 장착된 카메라는 인간의 시각과 달리 주변광(ambient light)의 변화를 자동으로 조정하지 않기 때문에 주변광의 변화 즉, 주위 조명 조건에 따라 동일 폰으로 촬영한 동일 개체에 대해 다른 색도 값이 나타날 수 있다. 또한, 스마트폰간의 색도 차이(device independence) 역시 존재하는데, 여러 스마트폰 별로 카메라 등 관련 장치의 차이로 인해 동일한 개체에 대해 동일한 환경조건에서 촬영된 이미지에 있어서도 색도 값 차이가 발생할 수 있다.As shown in FIG. 5, since the camera mounted on the smartphone does not automatically adjust the change in ambient light unlike human vision, the same object photographed by the same phone can be viewed according to the change in ambient light, that is, the ambient lighting conditions. Different chromaticity values may appear for In addition, there is also a difference in chromaticity (device independence) between smartphones, and due to differences in related devices such as cameras for different smartphones, differences in chromaticity values may occur even in images taken for the same object under the same environmental conditions.

본 발명의 실시예는 플래시 온 상태에서 촬영된 이미지와 오프 상태에서 촬영된 이미지를 모두 활용하여 색도를 분석함에 따라, 주변광 및 단말 기종 차이로 인한 색도 차이를 최소화함은 물론, 단말 기종과 주변 환경 변화에 강인한 추정 성능을 확보할 수 있도록 한다.The embodiment of the present invention analyzes the chromaticity by utilizing both the image taken in the flash on state and the image taken in the off state, thereby minimizing the difference in chromaticity due to the ambient light and the difference in terminal model, as well as the terminal model and the surrounding It enables to secure estimation performance that is robust to environmental changes.

입력부(110)는 사용자 단말(200)로부터 입력된 이미지를 코드 분석부(120) 및 라벨 분석부(130)로 제공한다. The input unit 110 provides the image input from the user terminal 200 to the code analysis unit 120 and the label analysis unit 130 .

코드 분석부(120)는 QR 코드에서 인식된 제품의 포장 시점으로부터 제품의 보관 경과 시간을 파악한다(S420). 그리고 파악한 제품 보관 경과 시간을 온도 추출부(140)로 전달한다.The code analysis unit 120 determines the storage elapsed time of the product from the packaging time of the product recognized by the QR code (S420). Then, the identified product storage elapsed time is transferred to the temperature extraction unit 140 .

코드 분석부(120)는 제품 식별 태그 내 QR 코드를 인식하여 제품의 포장 시점을 확인하고, 포장 시점을 기준으로 현재 시점 즉, 촬영 시점까지의 시간 차이를 이용하여 제품의 보관 경과 시간을 획득한다. 제품 포장 시점은 단순 포장 시점 뿐만 아니라 출하 시점의 개념을 포괄할 수 있다.The code analysis unit 120 recognizes the QR code in the product identification tag to check the packaging time of the product, and obtains the storage elapsed time of the product by using the time difference from the packaging time to the current point in time, that is, to the time of shooting. . Product packaging time may encompass the concept of shipping time as well as simple packaging time.

또한, 제품의 보관 경과 시간이란, 매장 진열 제품인 경우 제품 포장(출하) 이후 매장에 입고된 상태에서 사용자에 의해 제품 식별 태그가 촬영된 시점까지의 경과 시간에 해당할 수 있고, 택배 제품인 경우에는 택배 포장 이후 배송이 완료된 상태에서 사용자에 의해 수령한 제품의 식별 태그가 촬영된 시점까지의 경과 시간에 해당할 수 있다.In addition, the storage elapsed time of the product may correspond to the elapsed time from the time the product is packed (shipped) to the time when the product identification tag is photographed by the user in the case of a product displayed in a store, and in the case of a delivery product, it may correspond to the elapsed time It may correspond to an elapsed time from when the identification tag of the product received by the user is photographed in a state in which delivery is completed after packaging.

라벨 분석부(130)는 변색 라벨 내의 변색 영역 및 비변색 영역의 RGB 값으로부터 각각 제1 색도 인덱스 및 제2 색도 인덱스를 연산하여 색도 인덱스 쌍을 얻는다(S430). The label analyzer 130 obtains a pair of chromaticity indexes by calculating a first chromaticity index and a second chromaticity index, respectively, from the RGB values of the discolored and non-discolored areas in the discolored label (S430).

라벨 분석부(130)는 제품 식별 태그 내 변색 라벨을 구성한 각 매트릭스 영역에 대한 색도 값을 분석하고 이로부터 두 가지 색도 인덱스를 얻는다. 여기서 복수의 변색 영역으로부터 제1 색도 인덱스를 얻고, 주변의 복수의 비변색 영역으로부터 제2 색도 인덱스를 얻는다. The label analyzer 130 analyzes the chromaticity values of each matrix region constituting the discoloration label in the product identification tag, and obtains two chromaticity indices therefrom. Here, a first chromaticity index is obtained from a plurality of discoloration areas, and a second chromaticity index is obtained from a plurality of surrounding non-discoloration areas.

이하에서는 설명의 편의를 위하여 도 1 및 도 2와 같은 3개의 변색 영역과 6개의 비변색 영역이 조합된 9-puzzle 구조의 변색 태그를 예시한다. Hereinafter, for convenience of description, a color-changing tag having a 9-puzzle structure in which three color-changing areas and six non-color-changing areas are combined as shown in FIGS. 1 and 2 is illustrated.

여기서, 라벨 분석부(130)는 플래시 온 및 오프 상태에서 촬영된 한 세트의 이미지를 이용하여 변색 영역과 비변색 영역으로부터 제1 색도 인덱스 및 제2 색도 인덱스를 연산한다. Here, the label analyzer 130 calculates a first chromaticity index and a second chromaticity index from a color-changing area and a non-color-changing area using a set of images captured in flash on and off states.

이때, 라벨 분석부(130)는 변색 영역과 비변색 영역 각각에 대해, 플래시 온 및 오프 상태에서 얻은 RGB 값 간의 편차를 이용하여, 복수의 변색 영역을 대표하는 제1 색도 인덱스를 연산하고, 복수의 비변색 영역을 대표하는 제2 색도 인덱스를 연산한다.At this time, the label analyzer 130 calculates a first chromaticity index representing a plurality of discoloration areas using a deviation between RGB values obtained in the flash on and off states for each of the discoloration area and the non-discoloration area, and Calculate the second chromaticity index representing the non-discoloration area of .

구체적으로, 라벨 분석부(130)는 변색 라벨을 구성한 각 9개 영역 별로, 해당 영역의 R,G,B 값을 플래시 온 및 오프에 따른 R,G,B값 간 편차값으로 대치한 후, CIE 색도 변환을 적용하여 각 영역에 대한 CIE 색도도 상의 (x,y) 좌표 값을 환산한다.Specifically, the label analysis unit 130 substitutes the R, G, and B values of the corresponding region for each of the nine regions constituting the discoloration label with the deviation values between the R, G, and B values according to flash on and off, By applying the CIE chromaticity conversion, the (x,y) coordinate values on the CIE chromaticity diagram for each region are converted.

이후, 라벨 분석부(130)는 각 영역에 대해 환산된 (x,y) 좌표 값을 이용하여 제1 및 제2 색도 인덱스로 이루어진 색도 인덱스 쌍을 획득한다.Thereafter, the label analyzer 130 obtains a chromaticity index pair consisting of the first and second chromaticity indexes using the (x,y) coordinate values converted for each region.

RGB 값을 색도 값으로 전환(RGB -> XYZ)하는 과정은 다음의 수학식 1 내지 수학식 3을 이용할 수 있다.The process of converting RGB values into chromaticity values (RGB -> XYZ) may use Equations 1 to 3 below.

여기서 R, G, B 값에 곱해지는 행렬 M은 3×3 크기를 가지며, 공식적으로 미리 설정되는 값에 해당한다.Here, the matrix M multiplied by the values of R, G, and B has a size of 3 × 3 and corresponds to a formally preset value.

수학식 1에서 구해진 X, Y, Z 값을 수학식 2에 대입하면, CIE 색도 좌표계 상의 x, y 값을 얻을 수 있다. By substituting the X, Y, and Z values obtained in Equation 1 into Equation 2, the x and y values on the CIE chromaticity coordinate system can be obtained.

즉, 특정 영역의 R,G,B 값은 수학식 1 내지 2의 과정을 거쳐 CIE 색도 좌표 공간(CIE xy 색도도) 상의 x,y 값으로 변환될 수 있다. That is, the R, G, and B values of a specific region may be converted into x, y values on the CIE chromaticity coordinate space (CIE xy chromaticity diagram) through the process of Equations 1 and 2.

이러한 수식 자체는 기 공지된 것에 해당한다. 다만, 본 발명의 실시예의 경우, 한 장의 이미지에서 얻은 R, G, B값을 그대로 수학식 1에 적용하는 것이 아니라, 플래시 온 및 오프 상태에서 얻은 두 장의 이미지에서의 R, G, B 값 간의 편차 값을 수학식 1의 R, G, B에 적용하여 사용한다.This formula itself corresponds to a previously known one. However, in the case of the embodiment of the present invention, the R, G, and B values obtained from one image are not applied to Equation 1 as they are, but the R, G, and B values from two images obtained in the flash on and off states Deviation values are applied to R, G, and B in Equation 1 and used.

전체 9개 영역 중 변색 영역 1개를 예를 들면, 변색 영역의 R, G, B 값을 플래시 온 및 오프 상태에서 각각 획득한 다음, 온 상태의 각각의 값에서 오프 상태의 각각의 값을 차감한 결과를 수학식 1의 R, G, B 자리에 대입하여, 변색 영역의 X, Y, Z 값을 구한다. For one discoloration area out of nine areas, for example, the R, G, and B values of the discoloration area are obtained in the flash on and off states, respectively, and then each value in the off state is subtracted from each value in the on state. By substituting the result into the R, G, and B places of Equation 1, the X, Y, and Z values of the discolored area are obtained.

다시 말해서, 변색 영역에 대한 '플래시 온 상태의 R값 - 플래시 오프 상태의 R값'을 연산하여 수학식 1의 R에 대입하고, '플래시 온 상태의 G값 - 플래시 오프 상태의 G값'을 수학식 1의 G 값에 대입하고, '플래시 온 상태의 G값 - 플래시 오프 상태의 G값'을 수학식 1의 G 값에 대입한다.In other words, 'R value in flash on state - R value in flash off state' for the discoloration area is calculated and substituted into R in Equation 1, and 'G value in flash on state - G value in flash off state' is calculated. It is substituted into the G value of Equation 1, and 'the G value of the flash on state minus the G value of the flash off state' is substituted into the G value of Equation 1.

마찬가지로, 나머지 모든 변색 영역과 비변색 영역 각각에 대해서도 상술한 방법을 통해 x,y 값을 얻는다. 따라서 총 9개의 각 영역 별로 x,y 값이 얻어진다.Similarly, x and y values are obtained for all remaining discolored and non-discolored areas, respectively, through the above-described method. Therefore, x and y values are obtained for each of the nine regions.

CIE 색도 좌표계의 가로축은 x를 변수로 하고 세로축은 y를 변수로 하여 구성된다(도 7 참조). 따라서 9개의 각 영역 별 변환된 x,y 값은 CIE 색도 좌표계 상에 위치하는 좌표 값 (x,y)으로 매핑될 수 있다. The horizontal axis of the CIE chromaticity coordinate system is configured with x as a variable and the vertical axis with y as a variable (see FIG. 7). Accordingly, the converted x,y values for each of the nine regions may be mapped to coordinate values (x,y) located on the CIE chromaticity coordinate system.

이를 기반으로, 라벨 분석부(130)는 CIE 색도 좌표계 상의 원점 (0,0)으로부터 각 영역 별 구해진 (x,y) 좌표 까지의 거리를 기반으로 색도 인덱스 쌍을 획득한다. 각각의 색도 인덱스는 색도 거리(chromaticity distance)로 표현될 수 있다. Based on this, the label analyzer 130 obtains a chromaticity index pair based on the distance from the origin (0,0) on the CIE chromaticity coordinate system to the (x,y) coordinates obtained for each area. Each chromaticity index may be expressed as a chromaticity distance.

구체적으로, 라벨 분석부(130)는 CIE 색도 좌표계의 원점으로부터 3개의 변색 영역의 (x,y) 좌표 까지의 거리의 평균을 아래 수학식 3을 통하여 연산하여 제1 색도 인덱스(T)를 획득한다. Specifically, the label analyzer 130 obtains the first chromaticity index T by calculating the average of the distances from the origin of the CIE chromaticity coordinate system to the (x,y) coordinates of the three discoloration areas through Equation 3 below. do.

여기서, M은 변색 영역의 총 개수로, M=3이 된다. 수학식 3에서 xi, yi 는 변색 영역의 x,y 값이다. Here, M is the total number of discolored regions, and M=3. In Equation 3, x i and y i are x and y values of the discolored area.

수학식 3에서 i는 변색 라벨 내 9개 영역 중 3개의 변색 영역에 대한 인덱스로 i={3,4,9}가 된다. 이러한 수학식 3을 이용하면 3개의 변색 영역의 색도 거리를 모두 평균한 평균 색도 거리(제1 색도 인덱스; Txy)가 얻어진다.In Equation 3, i is an index of 3 discolored areas among 9 discolored areas in the discoloration label, and becomes i={3,4,9}. Using Equation 3, an average chromaticity distance (first chromaticity index; Txy) obtained by averaging chromaticity distances of three discoloration areas is obtained.

인덱스는 전체 9개 영역의 좌상단부터 우하단 영역까지 차례로 1부터 9까지 부여된 것을 가정한다. It is assumed that indexes are assigned from 1 to 9 sequentially from the upper left to the lower right of all nine areas.

그리고, 라벨 분석부(130)는 CIE 색도 좌표계의 원점으로부터 8개의 비변색 영역의 (x,y) 좌표 까지의 평균 거리를 아래 수학식 4를 통해 연산하여 제2 색도 인덱스(Sxy)를 획득한다. Then, the label analyzer 130 obtains the second chromaticity index (Sxy) by calculating the average distance from the origin of the CIE chromaticity coordinate system to the (x,y) coordinates of the eight non-discolored regions through Equation 4 below. .

여기서, N은 비변색 영역의 총 개수로, N=6이 된다. 수학식 4에서 j는 변색 라벨 내 9개 영역 중 6개의 비변색 영역에 각각 부여된 인덱스로 j={1,2,5,6,7,8}가 된다. Here, N is the total number of non-discoloration regions, and N=6. In Equation 4, j is an index assigned to 6 non-color-changing regions among 9 regions in the discoloration label, and j={1,2,5,6,7,8}.

이러한 수학식 4를 이용하면 6개의 비변색 영역의 색도 거리를 모두 평균한 평균 색도 거리(제2 색도 인덱스; Sxy)가 구해진다. Using Equation 4, an average chromaticity distance (second chromaticity index Sxy) obtained by averaging all chromaticity distances of six non-discolored areas is obtained.

이러한 본 발명의 실시예의 경우 주변광의 영향을 반영하기 위해 No-flash와 Flash로 연속 측정한다. 또한, 기기의 독립성을 반영하기 위해 9개 조각 중 고정색으로 이루어진 6개 조각에 대한 색도거리 측정(Sxy)을 수행하고 이와 동시에 3개의 변색 부분의 색도거리 측정(Txy)을 수행한다. 그리고, (Sxy)와 (Txy)의 관계를 이용하여 주변광의 영향과 스마트폰 간의 차이를 반영한 색도 측정이 가능하다. 즉, 제2 색도 인덱스(S), (Sxy)는 주변광 영향의 정도를 나타내는 것으로, 조도 등이 밝으면 높은 값을, 낮으면 낮은 값을 나타내는데 스마트폰의 특성에 따라 일정한 범위의 값을 가진다. 제1 색도 인덱스(T), (Txy) 또한 스마트폰의 특성을 반영한 일정한 값의 범위로 변색물질의 색도를 나타내는데, 예로, 도 7의 우측 그림 온도 5도 라인에서 A 스마트폰은 (Sxy) 0.25~0.262 (Txy) 0.335~0.342, B 스마트폰은 (Sxy) 0.287~0.31, (Txy) 0.357~0.362 등으로 나타나 여러 다른 스마트폰의 특성과 주변광의 영향을 반영하게 된다. 이들 값은 이용된 변색물질 및 실험방법 등에 따라 변경될 수 있으며, 각각의 값 비교를 통해 색변을 산출할 수 있다.In the case of this embodiment of the present invention, continuous measurement is performed with no-flash and flash to reflect the influence of ambient light. In addition, in order to reflect the independence of the device, chromaticity distance measurement (Sxy) is performed on 6 pieces of fixed color among 9 pieces, and at the same time, chromaticity distance measurement (Txy) is performed on 3 discolored parts. And, using the relationship between (Sxy) and (Txy), it is possible to measure chromaticity reflecting the influence of ambient light and the difference between smartphones. That is, the second chromaticity index (S) and (Sxy) indicate the degree of influence of ambient light, and have a high value when the illumination is bright and a low value when the illumination is low, and have values within a certain range according to the characteristics of the smartphone . The first chromaticity index (T) and (Txy) also represent the chromaticity of the discoloration material in a range of constant values reflecting the characteristics of the smartphone. For example, in the temperature 5 degree line of the right picture of FIG. ~0.262 (Txy) 0.335 ~ 0.342, B smart phone (Sxy) 0.287 ~ 0.31, (Txy) 0.357 ~ 0.362, etc., reflecting the characteristics of different smartphones and the influence of ambient light. These values may be changed according to the discoloration material used and the experimental method, and the color change may be calculated by comparing each value.

라벨 분석부(130)는 이와 같은 방법으로 제1 색도 인덱스(T)와 제2 색도 인덱스(S)를 연산하여 S와 T로 구성된 색도 인덱스 쌍을 획득한다. 라벨 분석부(130)는 획득한 색도 인덱스 쌍을 온도 추출부(140)로 전달한다. The label analyzer 130 calculates the first chromaticity index T and the second chromaticity index S in this way to obtain a chromaticity index pair composed of S and T. The label analyzer 130 transfers the acquired chromaticity index pair to the temperature extractor 140 .

그러면, 온도 추출부(140)는 보관 경과 시간 별로 기 구축된 보관 온도에 따른 색도 인덱스 양상 데이터로부터, 현재 파악된 상기 제품의 보관 경과 시간 및 색도 인덱스 쌍과 매칭되는 보관 온도 값을 추출한다(S440). 추출한 보관 온도 값은 소비기한 결정부(150)로 전달된다. Then, the temperature extractor 140 extracts a storage temperature value that matches the current storage elapsed time and chromaticity index pair of the product from the chromaticity index aspect data according to the pre-established storage temperature for each elapsed storage time (S440). ). The extracted storage temperature value is transmitted to the consumption period determining unit 150 .

도 6은 시간과 온도에 따른 변색 라벨의 색변화 추이를 예시적으로 나타낸 도면이다. 6 is a diagram showing the trend of color change of a discoloration label according to time and temperature by way of example.

도 6에서 좌측 상단은 제품 포장 시점(day 0)의 초기 상태로서, 이때의 온도는 5℃이며, 9개 영역이 모두 초기 색상을 유지한 것을 알 수 있다. 여기서 중앙의 변색 영역은 주변의 고정색 영역과는 달리, 보관 시간과 온도에 따라 색도 변화가 점진적으로 진행되는 것을 알 수 있다. 또한, 보관 시간이 증가할수록, 그리고 보관 온도가 높을수록 초기 상태로부터 변화가 큰 것을 알 수 있다.In FIG. 6 , the upper left corner is the initial state at the time of product packaging (day 0), and the temperature at this time is 5° C., and it can be seen that all nine areas maintain their initial colors. Here, it can be seen that the discoloration area in the center progresses gradually in chromaticity change according to the storage time and temperature, unlike the surrounding fixed color area. In addition, it can be seen that the change from the initial state increases as the storage time increases and the storage temperature increases.

이러한 점을 바탕으로 본 발명의 실시예는 보관 온도에 따른 색도 인덱스 양상 데이터를 보관 경과 시간 별로 사전에 구축해 두고, 이를 활용하여 현재 제품 식별 태그로부터 분석된 색도 인덱스 쌍 및 보관 경과 시간으로부터 제품의 예상되는 보관 온도 값을 추출한다. Based on this point, the embodiment of the present invention builds the chromaticity index aspect data according to the storage temperature in advance for each elapsed storage time, and uses this to predict the product from the chromaticity index pair analyzed from the current product identification tag and the elapsed storage time extract the storage temperature value.

색도 인덱스 양상 데이터는 보관 경과 시간 별로 사전 구축되어 저장부(미도시)에서 저장 및 관리될 수 있다. 본 발명의 실시예에서 색도 인덱스 양상 데이터는 제1 및 제2 색도 인덱스의 축으로 구성된 2차원 공간 좌표계 상에 보관 온도 별로 다르게 존재하는 색도 인덱스 쌍의 좌표에 대한 추세선이 등고선 형태로 매핑되어 구성될 수 있다. Chromaticity index aspect data may be pre-established for each storage elapsed time and stored and managed in a storage unit (not shown). In an embodiment of the present invention, the chromaticity index aspect data is configured by mapping a trend line for coordinates of chromaticity index pairs that exist differently for each storage temperature on a two-dimensional spatial coordinate system composed of axes of first and second chromaticity indexes in a contour form. can

도 7은 색도 인덱스 양상 데이터를 구축하는 원리를 설명하는 도면이다.Fig. 7 is a diagram explaining the principle of constructing chromaticity index aspect data.

도 7의 좌측 그림은 CIE 색도 좌표계를 나타낸 것이며, 도 7의 가운데 그림은 임의의 보관 경과 시간(1 day)에 대해 구축한 색도 인덱스 양상 데이터를 예시한다. 그래프의 세로축은 제1 색도 인덱스(T)에 관한 축이고 세로축은 제2 색도 인덱스(S)에 관한 축이다.The left figure of FIG. 7 shows the CIE chromaticity coordinate system, and the middle figure of FIG. 7 illustrates chromaticity index aspect data constructed for an arbitrary storage elapsed time (1 day). The vertical axis of the graph is the axis related to the first chromaticity index (T), and the vertical axis is the axis related to the second chromaticity index (S).

도 7의 가운데 그림은 1 day 동안의 다양한 보관 온도 별 이루어진 변색 라벨 샘플들로부터 얻은 색도 인덱스 쌍의 실험 데이터(샘플 데이터)로서, 각각의 온도에서 변색 라벨 샘플 별 얻은 색도 인덱스 쌍의 좌표 (S,T)를 2차원 공간 좌표계 상에 매핑하고 동일한 보관 온도끼리 데이터를 연결한 모습을 나타낸다.The middle figure in FIG. 7 is experimental data (sample data) of chromaticity index pairs obtained from discoloration label samples made at various storage temperatures for 1 day, and the coordinates of chromaticity index pairs obtained for each discoloration label sample at each temperature (S, T) is mapped on a two-dimensional spatial coordinate system, and the data of the same storage temperature are connected.

각 온도 별 샘플 데이터를 회귀 분석하면 도 7의 우측 그림과 같이 부드러운 등고선 형태로 데이터가 보정될 수 있다. 본 발명의 실시예는 이러한 도 7의 우측 그림과 같은 형태로 색도 인덱스 양상 데이터를 저장 및 관리한다.Regression analysis of the sample data for each temperature can correct the data in the form of a smooth contour line as shown in the right figure of FIG. 7 . An embodiment of the present invention stores and manages chromaticity index aspect data in the form shown on the right of FIG. 7 .

회귀 분석은 복수의 샘플들로부터 샘플의 추세선 분석 등에 활용될 수 있으며. 본 발명의 실시예는 와 같은 회귀 분석 수식을 사용할 수 있다. 물론 본 발명이 반드시 이에 한정되지 않으며 기 공지된 다양한 수식을 활용할 수 잇다. Regression analysis can be used for trend line analysis of samples from a plurality of samples. An embodiment of the present invention A regression analysis formula such as Of course, the present invention is not necessarily limited thereto, and various known formulas may be utilized.

아울러, 도 7의 우측 그림의 경우 데이터 추이를 5℃ 간격으로 도시하고 있으나, 이는 하나의 실시예에 불과하며, 데이터 보간 등과 같은 다양한 추정 방식을 사용하여 도 7보다 촘촘한 온도 간격으로 데이터를 획득하고 활용할 수 있다.In addition, in the case of the right figure of FIG. 7, data trends are shown at 5 ° C intervals, but this is only one example, and data are obtained at tighter temperature intervals than FIG. 7 using various estimation methods such as data interpolation, can be utilized

도 7은 1 day에 대해 구축한 색도 인덱스 양상 데이터에 해당하지만, 다른 보관 경과 시간에 대해서도 도 7의 우측 그림과 같은 색도 인덱스 양상 데이터를 얻을 수 있다. 즉, 상술한 것과 동일한 방법을 사용하여 2day, 3day, …, 30day 등의 보관 경과 시간 별 샘플 데이터로부터 각 시간 별로 색도 인덱스 양상 데이터를 구축할 수 있다. 7 corresponds to chromaticity index aspect data established for 1 day, but chromaticity index aspect data such as the right picture of FIG. 7 can be obtained for other elapsed storage times. That is, using the same method as described above, 2day, 3day, ... Chromaticity index aspect data can be constructed for each time period from sample data for each storage elapsed time such as , 30 days, etc.

온도 추출부(140)는 보관 경과 시간 별로 기 구축된 색도 인덱스 양상 데이터 중에서, 현재 파악된 제품의 보관 경과 시간에 대응한 색도 인덱스 양상 데이터를 탐색하고, 탐색한 색도 인덱스 양상 대이터 내에서 현재 분석된 색도 인덱스 쌍의 좌표와 매칭되는 보관 온도 값을 추출할 수 있다.The temperature extractor 140 searches for chromaticity index aspect data corresponding to the currently identified storage elapsed time of the product among previously established chromaticity index aspect data for each storage elapsed time, and currently analyzes the chromaticity index aspect data within the searched data. A storage temperature value matching the coordinates of a pair of chromaticity indexes can be extracted.

만일, 도 7의 P 지점의 좌표와 같이, S430단계에서 연산된 색도 인덱스 쌍의 값의 좌표 (S, T) = (0.283, 0.362)인 경우, 해당 제품의 보관 온도 값은 6℃로 추정될 수 있다.If, as in the coordinates of point P in FIG. 7, if the coordinates of the value of the chromaticity index pair calculated in step S430 are (S, T) = (0.283, 0.362), the storage temperature value of the product can be estimated as 6 ° C. can

이후에, 소비기한 결정부(150)는 추출된 보관 온도 값을 기초로 제품의 소비기한을 결정한다(S450).Thereafter, the expiration date determination unit 150 determines the expiration date of the product based on the extracted storage temperature value (S450).

여기서, 소비기한 결정부(150)는 추출된 보관 온도 값을 제품의 평균 보관 온도로 가정할 수 있다. 아울러, 이렇게 추출된 보관 온도 값을 이용하여 제품에 대한 신선도 지수를 판단하고, 신선도 지수와 제품의 잔여 유통 기한을 이용하여 제품의 소비 기한을 예측할 수 있다. Here, the expiration date determination unit 150 may assume the extracted storage temperature value as the average storage temperature of the product. In addition, the freshness index of the product may be determined using the storage temperature value extracted in this way, and the expiration date of the product may be predicted using the freshness index and the remaining shelf life of the product.

이때, 제품의 잔여 유통 기한은 현재 시점과 제품의 QR 코드로부터 인식된 제품의 유통 기한을 통하여 쉽게 확인 가능하다. At this time, the remaining expiration date of the product can be easily confirmed through the current point in time and the expiration date of the product recognized from the QR code of the product.

예를 들어, 소비기한 결정부(150)는 제품의 평균 보관 온도 별 신선도 지수를 정의한 신선도 정보 테이블을 참조하여, 앞서 S440 단계에서 추출된 보관 온도 값과 매칭되는 신선도 지수를 파악할 수 있다. 여기서 신선도 지수는 % 단위 등을 가질 수 있으며, 100%를 최대 값으로 할 수 있다. For example, the consumption-by-date determining unit 150 may determine a freshness index matching the storage temperature value extracted in step S440 by referring to a freshness information table defining a freshness index for each average storage temperature of the product. Here, the freshness index may have a % unit or the like, and may have 100% as a maximum value.

그런 다음, 소비기한 결정부(150)는 파악된 신선도 지수에 대응된 조정 지수를 잔여 유통 기한에 반영하여 제품의 소비 기한을 결정할 수 있다. 예를 들어, 제품의 잔여 유통 기한이 10일로 판단되고 제품의 신선도 지수가 50%로 판단되면, 잔여 유통 기한은 10일로부터 50%가 차감된 5일로 조정될 수 있다. 이를 통하여 사용자는 제품의 소비 기한을 파악하고 제품에 기재된 유통 기한에 의존하지 않고 제품을 소비할 수 있도록 유도할 수 있다. Then, the consumption period determination unit 150 may determine the consumption period of the product by reflecting the adjustment index corresponding to the identified freshness index to the remaining shelf life. For example, if the remaining shelf life of a product is determined to be 10 days and the freshness index of the product is determined to be 50%, the remaining shelf life may be adjusted to 5 days by subtracting 50% from 10 days. Through this, the user can grasp the expiration date of the product and can be induced to consume the product without depending on the expiration date written on the product.

여기서 제품 소비기한 예측 장치(100)는 추출된 보관 온도 값 및 예측된 제품 소비 기한을 사용자 단말(200)로 제공하는 출력부(미도시)를 더 포함할 수 있다. 물론, 출력부는 제품의 평균 보관 온도 값과 소비 기한을 QR 코드를 통해 얻은 제품 정보와 함께 연계하여 제공할 수 있다.Here, the product consumption period prediction device 100 may further include an output unit (not shown) that provides the extracted storage temperature value and the predicted product consumption period to the user terminal 200 . Of course, the output unit may provide the average storage temperature value and expiration date of the product in conjunction with the product information obtained through the QR code.

물론, 출력부는 상술한 일련의 과정 및 최종 도출된 결과 값을 사용자 단말(200)의 화면으로 실시간으로 출력할 수 있고, 관련 데이터를 이미지, 테이블, 텍스트 중 적어도 하나의 형태로 가공하여 제공할 수 있다. Of course, the output unit may output the above-described series of processes and finally derived result values to the screen of the user terminal 200 in real time, and may process and provide related data in the form of at least one of images, tables, and texts. there is.

이와 같이, 본 발명은 제품의 평균 보관 온도 값을 이용하여 제품의 신선도를 파악하여 그에 따른 제품의 소비 기한을 예측할 수 있다. 파악된 신선도에 따라 제품의 잔여 유통 기한을 수정하고 이를 제품에 대한 소비 기한으로 결정하여 제공할 수 있다. 여기서 물론 신선도가 기준 이상으로 우수하면 유통 기한이 그대로 유지될 수 있고 신선도가 나쁘면 나쁜 정도에 따라 잔여 유통 기한이 단축될 수 있다.As such, the present invention can determine the freshness of the product using the average storage temperature value of the product and predict the expiration date of the product accordingly. Depending on the identified freshness, the remaining shelf life of the product can be modified and this can be determined and provided as the consumption date for the product. Here, of course, if the freshness is superior to the standard, the shelf life may be maintained as it is, and if the freshness is poor, the remaining shelf life may be shortened according to the degree of badness.

도 8 및 도 9은 본 발명의 실시예에 따른 스마트폰을 활용한 색변 측정 활용 예시를 나타낸 도면이다.8 and 9 are diagrams illustrating an example of color change measurement using a smartphone according to an embodiment of the present invention.

도 8은 택배 제품에 대한 활용 예시로서, 색변 측정을 통해 추정한 제품의 평균 저장 온도를 통하여 택배 식품의 배송 신뢰성 및 택배 식품의 신선도를 확인할 수 있다. 도 9는 매장 판매 중인 냉장 유통 식품에 대한 활용 예시로서, 색변 측정을 통해 추정한 제품의 평균 저장 온도를 이용하여 매장 판매 식품의 신선도(품질수준)를 확인할 수 있고, 식중독 발생수준을 나타내는 안전수준과, 맛과 관련한 숙성도, 당도 등도 제공할 수 있다.8 is an example of utilization of delivery products, and the delivery reliability and freshness of delivery food can be confirmed through the average storage temperature of the product estimated through color change measurement. 9 is an example of utilization of refrigerated food sold in stores, and the freshness (quality level) of store-sold foods can be confirmed using the average storage temperature of products estimated through color change measurement, and the safety level indicating the level of food poisoning occurrence It can also provide ripeness, sugar content, etc. related to taste.

이상과 같은 본 발명에 따르면, 사용자 단말을 이용하여 제품 식별 태그를 촬영한 이미지를 수신하여 제품 식별 태그에 포함된 변색 라벨로부터 색도 변화를 측정하고 QR 코드로부터 제품 보관 시간을 파악하여, 제품의 평균 보관 온도 값을 추정할 수 있으며, 이로부터 제품의 신선도를 파악하여 제품의 소비 기한을 예측할 수 있다. According to the present invention as described above, an image of a product identification tag is received using a user terminal, a color change is measured from a discoloration label included in a product identification tag, and a product storage time is determined from a QR code, and an average value of a product is measured. The storage temperature value can be estimated, and from this, the freshness of the product can be determined and the expiration date of the product can be predicted.

아울러, 본 발명의 경우 플래시 온/오프 상태에서 연속 촬영된 두 장의 이미지를 활용하여 식별 태그 내의 변색 라벨의 색도 변화를 분석함으로써 주변광 및 단말 기종의 차이에 따른 영향을 최소화하고 환경 변화에 강인한 추정 성능을 제공할 수 있다. In addition, in the case of the present invention, by analyzing the chromaticity change of the discoloration label in the identification tag using two images taken continuously in the flash on/off state, the effect of ambient light and differences in terminal models is minimized and the estimation robust to environmental changes is made. performance can be provided.

본 발명은 도면에 도시된 실시 예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 다른 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의하여 정해져야 할 것이다.Although the present invention has been described with reference to the embodiments shown in the drawings, this is merely exemplary, and those skilled in the art will understand that various modifications and equivalent other embodiments are possible therefrom. Therefore, the true technical scope of protection of the present invention should be determined by the technical spirit of the appended claims.

10: 제품 식별 태그 100: 제품 소비기한 예측 장치
110: 입력부 120: 코드 분석부
130: 라벨 분석부 140: 온도 추출부
150: 소비기한 결정부 200: 사용자 단말
10: product identification tag 100: product expiration date prediction device
110: input unit 120: code analysis unit
130: label analysis unit 140: temperature extraction unit
150: consumption period determining unit 200: user terminal

Claims (18)

변색 물질의 색도 변환 측정을 통한 제품의 소비기한 예측 장치에 있어서,
복수의 변색 영역과 복수의 비변색 영역으로 구성된 변색 라벨과 제품의 QR 코드가 포함된 제품 식별 태그를 플래시 온 및 오프 상태에서 각각 촬영한 한 세트의 이미지를 입력받는 입력부;
상기 QR 코드에서 인식된 제품의 포장 시점으로부터 상기 제품의 보관 경과 시간을 파악하는 코드 분석부;
상기 한 세트의 이미지를 이용하여 상기 변색 라벨 내의 변색 영역 및 비변색 영역의 RGB 값으로부터 각각 상기 복수의 변색 영역을 대표하는 제1 색도 인덱스 및 상기 복수의 비변색 영역을 대표하는 제2 색도 인덱스를 연산하여 색도 인덱스 쌍을 얻는 라벨 분석부;
보관 경과 시간 별로 기 구축된 보관 온도에 따른 색도 인덱스 양상 데이터로부터, 현재 파악된 상기 제품의 보관 경과 시간 및 색도 인덱스 쌍과 매칭되는 보관 온도 값을 추출하는 온도 추출부; 및
상기 추출된 보관 온도 값을 기초로 상기 제품의 소비기한을 결정하는 소비기한 결정부를 포함하며,
상기 라벨 분석부는,
상기 변색 영역과 비변색 영역 각각에 대해, 상기 플래시 온 및 오프 상태에서 얻은 RGB 값 간의 편차를 이용하여 상기 제1 색도 인덱스 및 상기 제2 색도 인덱스를 각각 연산하되,
상기 변색 라벨을 구성한 각 영역 별로, 해당 영역의 R,G,B 값을 플래시 온 및 오프에 따른 R,G,B값 간 편차값으로 대치한 후 CIE 색도 변환을 적용하여 각 영역에 대한 CIE 색도도 상의 (x,y) 좌표 값을 환산한 다음, 각 영역에 대해 환산된 (x,y) 좌표 값을 이용하여 상기 복수의 변색 영역을 대표하는 제1 색도 인덱스와 상기 복수의 비변색 영역을 대표하는 제2 색도 인덱스를 포함한 상기 색도 인덱스 쌍을 획득하는 제품의 소비기한 예측 장치.
In the device for predicting the expiration date of a product through the measurement of chromaticity conversion of a discoloration material,
An input unit that receives a set of images obtained by photographing a product identification tag including a product identification tag including a product identification tag including a product QR code and a discoloration label composed of a plurality of discoloration areas and a plurality of non-discoloration areas, respectively, in a flash on and off state;
a code analyzer that determines the storage elapsed time of the product from the packaging time of the product recognized by the QR code;
A first chromaticity index representing the plurality of discoloration areas and a second chromaticity index representing the plurality of non-discoloration areas, respectively, from the RGB values of the discoloration area and the non-discoloration area in the discoloration label using the set of images a label analysis unit that calculates and obtains a chromaticity index pair;
a temperature extraction unit for extracting a storage temperature value matched with a currently identified storage elapsed time and chromaticity index pair of the product from chromaticity index aspect data according to storage temperature previously established for each storage elapsed time; and
And an expiration date determination unit for determining an expiration date of the product based on the extracted storage temperature value,
The label analysis unit,
Calculate the first chromaticity index and the second chromaticity index, respectively, using the deviation between the RGB values obtained in the flash on and off states for each of the discoloration area and the non-discoloration area;
For each area constituting the discoloration label, the R, G, and B values of the corresponding area are replaced with the deviation values between R, G, and B values according to flash on and off, and then CIE chromaticity conversion is applied to obtain the CIE chromaticity for each area. After converting the (x,y) coordinate values on the map, the first chromaticity index representing the plurality of discoloration areas and the plurality of non-discoloration areas are determined using the converted (x,y) coordinate values for each area. An apparatus for predicting the expiration date of a product for obtaining the chromaticity index pair including the representative second chromaticity index.
삭제delete 삭제delete 삭제delete 청구항 1에 있어서,
상기 라벨 분석부는,
CIE 색도 좌표계의 원점으로부터 상기 복수의 변색 영역의 (x,y) 좌표 까지의 평균 거리를 연산하여 상기 제1 색도 인덱스를 획득하고,
CIE 색도 좌표계의 원점으로부터 상기 복수의 비변색 영역의 (x,y) 좌표 까지의 평균 거리를 연산하여 상기 제2 색도 인덱스를 획득하는 제품의 소비기한 예측 장치.
The method of claim 1,
The label analysis unit,
Obtaining the first chromaticity index by calculating an average distance from the origin of the CIE chromaticity coordinate system to the (x,y) coordinates of the plurality of discoloration areas;
An apparatus for predicting product expiration date for obtaining the second chromaticity index by calculating an average distance from the origin of the CIE chromaticity coordinate system to the (x,y) coordinates of the plurality of non-discoloration regions.
청구항 1에 있어서,
상기 색도 인덱스 양상 데이터는,
상기 제1 및 제2 색도 인덱스의 축으로 구성된 2차원 공간 좌표계 상에 보관 온도 별로 다르게 존재하는 상기 색도 인덱스 쌍의 좌표에 대한 추세선이 등고선 형태로 매핑되어 있는 제품의 소비기한 예측 장치.
The method of claim 1,
The chromaticity index aspect data,
A product consumption date prediction device in which a trend line for the coordinates of the chromaticity index pairs that exist differently for each storage temperature is mapped in a contour shape on a two-dimensional space coordinate system composed of axes of the first and second chromaticity indexes.
청구항 1에 있어서,
상기 변색 라벨은,
상기 복수의 변색 영역과 상기 복수의 비변색 영역이 서로 매트릭스 형태로 조합된 형태를 가지며,
상기 변색 영역과 상기 비변색 영역은 초기에 동일 색상으로 구현되는 제품의 소비기한 예측 장치.
The method of claim 1,
The discoloration label,
The plurality of color-changing regions and the plurality of non-color-changing regions are combined in a matrix form,
The discoloration area and the non-discoloration area are initially embodied in the same color.
청구항 1에 있어서,
상기 변색 영역은 시간과 온도에 따라 색상이 비가역적으로 변하는 소재로 형성되는 제품의 소비기한 예측 장치.
The method of claim 1,
The discoloration area is formed of a material whose color irreversibly changes with time and temperature.
청구항 1에 있어서,
상기 소비기한 결정부는,
상기 추출된 보관 온도 값을 이용하여 상기 제품에 대한 신선도 지수를 판단하고 상기 신선도 지수와 상기 제품의 잔여 유통 기한을 이용하여 상기 제품의 소비 기한을 예측하는 제품의 소비기한 예측 장치.
The method of claim 1,
The consumption period determination unit,
A product consumption period prediction device for determining a freshness index of the product using the extracted storage temperature value and predicting a consumption period of the product using the freshness index and the remaining shelf life of the product.
변색 물질의 색도 변환 측정을 통한 제품의 소비기한 예측 장치를 이용한 소비기한 예측 방법에 있어서,
복수의 변색 영역과 복수의 비변색 영역으로 구성된 변색 라벨과 제품의 QR 코드가 포함된 제품 식별 태그를 플래시 온 및 오프 상태에서 각각 촬영한 한 세트의 이미지를 입력받는 단계;
상기 QR 코드에서 인식된 제품의 포장 시점으로부터 상기 제품의 보관 경과 시간을 파악하는 단계;
상기 한 세트의 이미지를 이용하여 상기 변색 라벨 내의 변색 영역 및 비변색 영역의 RGB 값으로부터 각각 상기 복수의 변색 영역을 대표하는 제1 색도 인덱스 및 상기 복수의 비변색 영역을 대표하는 제2 색도 인덱스를 연산하여 색도 인덱스 쌍을 얻는 단계;
보관 경과 시간 별로 기 구축된 보관 온도에 따른 색도 인덱스 양상 데이터로부터, 현재 파악된 상기 제품의 보관 경과 시간 및 색도 인덱스 쌍과 매칭되는 보관 온도 값을 추출하는 단계; 및
상기 추출된 보관 온도 값을 기초로 상기 제품의 소비기한을 결정하는 단계를 포함하며,
상기 색도 인덱스 쌍을 얻는 단계는,
상기 변색 영역과 비변색 영역 각각에 대해, 상기 플래시 온 및 오프 상태에서 얻은 RGB 값 간의 편차를 이용하여 상기 제1 색도 인덱스 및 상기 제2 색도 인덱스를 각각 연산하되,
상기 변색 라벨을 구성한 각 영역 별로, 해당 영역의 R,G,B 값을 플래시 온 및 오프에 따른 R,G,B값 간 편차값으로 대치한 후 CIE 색도 변환을 적용하여 각 영역에 대한 CIE 색도도 상의 (x,y) 좌표 값을 환산한 다음, 각 영역에 대해 환산된 (x,y) 좌표 값을 이용하여 상기 복수의 변색 영역을 대표하는 제1 색도 인덱스와 상기 복수의 비변색 영역을 대표하는 제2 색도 인덱스를 포함한 상기 색도 인덱스 쌍을 획득하는 제품의 소비기한 예측 방법.
In the consumption period prediction method using a product consumption period prediction device through measurement of chromaticity conversion of discoloration material,
Receiving a set of images obtained by photographing a product identification tag including a product identification tag including a QR code of a product and a discoloration label composed of a plurality of discoloration areas and a plurality of non-discoloration areas, respectively, in flash on and off states;
Figuring out the storage elapsed time of the product from the packaging time of the product recognized by the QR code;
A first chromaticity index representing the plurality of discoloration areas and a second chromaticity index representing the plurality of non-discoloration areas, respectively, from the RGB values of the discoloration area and the non-discoloration area in the discoloration label using the set of images calculating to obtain a pair of chromaticity indices;
Extracting a storage temperature value matching the currently identified storage elapsed time and chromaticity index pair of the product from chromaticity index aspect data according to storage temperature previously established for each storage elapsed time; and
Determining an expiration date of the product based on the extracted storage temperature value,
The step of obtaining the chromaticity index pair,
Calculate the first chromaticity index and the second chromaticity index, respectively, using the deviation between the RGB values obtained in the flash on and off states for each of the discoloration area and the non-discoloration area;
For each area constituting the discoloration label, the R, G, and B values of the corresponding area are replaced with the deviation values between R, G, and B values according to flash on and off, and then CIE chromaticity conversion is applied to obtain the CIE chromaticity for each area. After converting the (x,y) coordinate values on the map, the first chromaticity index representing the plurality of discoloration areas and the plurality of non-discoloration areas are determined using the converted (x,y) coordinate values for each area. A method of predicting the expiration date of a product by obtaining the chromaticity index pair including the representative second chromaticity index.
삭제delete 삭제delete 삭제delete 청구항 10에 있어서,
상기 색도 인덱스 쌍을 얻는 단계는,
CIE 색도 좌표계의 원점으로부터 상기 복수의 변색 영역의 (x,y) 좌표 까지의 평균 거리를 연산하여 상기 제1 색도 인덱스를 획득하고,
CIE 색도 좌표계의 원점으로부터 상기 복수의 비변색 영역의 (x,y) 좌표 까지의 평균 거리를 연산하여 상기 제2 색도 인덱스를 획득하는 제품의 소비기한 예측 방법.
The method of claim 10,
The step of obtaining the chromaticity index pair,
Obtaining the first chromaticity index by calculating an average distance from the origin of the CIE chromaticity coordinate system to the (x,y) coordinates of the plurality of discoloration areas;
The method of predicting the consumption period of a product in which the second chromaticity index is obtained by calculating an average distance from the origin of the CIE chromaticity coordinate system to the (x,y) coordinates of the plurality of non-discoloration regions.
청구항 10에 있어서,
상기 색도 인덱스 양상 데이터는,
상기 제1 및 제2 색도 인덱스의 축으로 구성된 2차원 공간 좌표계 상에 보관 온도 별로 다르게 존재하는 상기 색도 인덱스 쌍의 좌표에 대한 추세선이 등고선 형태로 매핑되어 있는 제품의 소비기한 예측 방법.
The method of claim 10,
The chromaticity index aspect data,
A method for predicting product consumption in which a trend line for the coordinates of the chromaticity index pairs, which exist differently for each storage temperature, is mapped in the form of a contour line on a two-dimensional space coordinate system composed of axes of the first and second chromaticity indices.
청구항 10에 있어서,
상기 변색 라벨은,
상기 복수의 변색 영역과 상기 복수의 비변색 영역이 서로 매트릭스 형태로 조합된 형태를 가지며,
상기 변색 영역과 상기 비변색 영역은 초기에 동일 색상으로 구현되는 제품의 소비기한 예측 방법.
The method of claim 10,
The discoloration label,
The plurality of color-changing regions and the plurality of non-color-changing regions are combined in a matrix form,
The discoloration area and the non-discoloration area are initially implemented with the same color.
청구항 10에 있어서,
상기 변색 영역은 시간과 온도에 따라 색상이 비가역적으로 변하는 소재로 형성되는 제품의 소비기한 예측 방법.
The method of claim 10,
The discoloration area is formed of a material whose color irreversibly changes with time and temperature.
청구항 10에 있어서,
상기 소비기한을 결정하는 단계는,
상기 추출된 보관 온도 값을 이용하여 상기 제품에 대한 신선도 지수를 판단하고 상기 신선도 지수와 상기 제품의 잔여 유통 기한을 이용하여 상기 제품의 소비 기한을 예측하는 제품의 소비기한 예측 방법.
The method of claim 10,
The step of determining the expiration date is,
A method of predicting a product's expiration date for determining a freshness index of the product using the extracted storage temperature value and predicting the expiration date of the product using the freshness index and the remaining expiration date of the product.
KR1020210150230A 2021-11-04 2021-11-04 Apparatus for predicting use-by date of product through measurement of chromaticity change of discoloration material and method thereof KR102572885B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210150230A KR102572885B1 (en) 2021-11-04 2021-11-04 Apparatus for predicting use-by date of product through measurement of chromaticity change of discoloration material and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210150230A KR102572885B1 (en) 2021-11-04 2021-11-04 Apparatus for predicting use-by date of product through measurement of chromaticity change of discoloration material and method thereof

Publications (2)

Publication Number Publication Date
KR20230064762A KR20230064762A (en) 2023-05-11
KR102572885B1 true KR102572885B1 (en) 2023-08-30

Family

ID=86379156

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210150230A KR102572885B1 (en) 2021-11-04 2021-11-04 Apparatus for predicting use-by date of product through measurement of chromaticity change of discoloration material and method thereof

Country Status (1)

Country Link
KR (1) KR102572885B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102596558B1 (en) * 2023-06-01 2023-10-31 주식회사 신화프린팅 Adhesive label sheet

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200277063Y1 (en) 2002-01-18 2002-06-03 허영식 A label adhesive foodstuffs
KR102138488B1 (en) * 2020-01-13 2020-07-28 주식회사 케이팩 Smart Label and Manufacturing Method of Smart Label

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150106077A (en) * 2014-03-11 2015-09-21 에스케이플래닛 주식회사 Sticker for Checking Available Period after Product Opening and Terminal Apparatus using the same
KR20180066701A (en) * 2016-12-09 2018-06-19 주식회사 케이티 Apparatus and Method for Checking of Expiration Date of Agricultural Product through Code

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200277063Y1 (en) 2002-01-18 2002-06-03 허영식 A label adhesive foodstuffs
KR102138488B1 (en) * 2020-01-13 2020-07-28 주식회사 케이팩 Smart Label and Manufacturing Method of Smart Label

Also Published As

Publication number Publication date
KR20230064762A (en) 2023-05-11

Similar Documents

Publication Publication Date Title
US10726293B2 (en) Photo analytics calibration
US20190311598A1 (en) Scent-based spoilage sensing refrigerator
US20190226755A1 (en) Image-based spoilage sensing refrigerator
US20210263018A1 (en) Lateral flow test strip immunoassay in vitro diagnostic device
CN112020738B (en) Method and apparatus for product monitoring
CN110716483B (en) Control method and control device of cooking equipment, cooking equipment and storage medium
KR102572885B1 (en) Apparatus for predicting use-by date of product through measurement of chromaticity change of discoloration material and method thereof
CN108256964A (en) Management method, device and the server of automatic vending box for material circulation
JPWO2019182108A1 (en) Color correspondence information generation system, program and color correspondence information generation method
KR102572883B1 (en) Apparatus for predicting use-by date of product through measurement of chromaticity change based on user terminal and method thereof
KR102572884B1 (en) Apparatus for estimating storage temperature of product through measurement of chromaticity change of discoloration material and method thereof
KR102243452B1 (en) Guide card for food information recognition, food information recognition system and method thereof
KR20230064759A (en) Apparatus for estimating storage temperature of product through measurement of chromaticity change based on user terminal and method thereof
Pereira et al. Camera-based system for quality assessment of fresh beef based on image analysis
KR102293333B1 (en) A food status determination device and a system for determining food status using the same
US20210022646A1 (en) System and method for urine analysis and personal health monitoring
KR20210074812A (en) method for checking the food freshness
Waldhans et al. Development of a novel app-based system for the digital color read out of time-temperature-indicators and to monitor shelf life along the chain
JP7108468B2 (en) reading processor
KR20180112136A (en) Method for analyzing freshness of food and system using the same
JP2021174222A (en) Color change degree estimation system, color change degree estimation method, and program
WO2023106034A1 (en) Food sales promotion control device, food sales promotion system, and food sales promotion method
US10102568B2 (en) System and methods for matching images with viewing environment
JP7266157B1 (en) Food disposal point management control device, food disposal point management system, and food disposal point management method
JP2022083761A (en) Information processing system

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right