KR102576213B1 - Quality control system and method using learning module - Google Patents

Quality control system and method using learning module Download PDF

Info

Publication number
KR102576213B1
KR102576213B1 KR1020220185446A KR20220185446A KR102576213B1 KR 102576213 B1 KR102576213 B1 KR 102576213B1 KR 1020220185446 A KR1020220185446 A KR 1020220185446A KR 20220185446 A KR20220185446 A KR 20220185446A KR 102576213 B1 KR102576213 B1 KR 102576213B1
Authority
KR
South Korea
Prior art keywords
image data
head
tofu
learning model
learning
Prior art date
Application number
KR1020220185446A
Other languages
Korean (ko)
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 KR1020220185446A priority Critical patent/KR102576213B1/en
Application granted granted Critical
Publication of KR102576213B1 publication Critical patent/KR102576213B1/en

Links

Images

Classifications

    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • AHUMAN NECESSITIES
    • A23FOODS OR FOODSTUFFS; TREATMENT THEREOF, NOT COVERED BY OTHER CLASSES
    • A23LFOODS, FOODSTUFFS, OR NON-ALCOHOLIC BEVERAGES, NOT COVERED BY SUBCLASSES A21D OR A23B-A23J; THEIR PREPARATION OR TREATMENT, e.g. COOKING, MODIFICATION OF NUTRITIVE QUALITIES, PHYSICAL TREATMENT; PRESERVATION OF FOODS OR FOODSTUFFS, IN GENERAL
    • A23L11/00Pulses, i.e. fruits of leguminous plants, for production of food; Products from legumes; Preparation or treatment thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06395Quality analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10141Special mode during image acquisition
    • G06T2207/10152Varying illumination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Development Economics (AREA)
  • Botany (AREA)
  • Computing Systems (AREA)
  • Polymers & Plastics (AREA)
  • Artificial Intelligence (AREA)
  • Chemical & Material Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Manufacturing & Machinery (AREA)
  • Food Science & Technology (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Nutrition Science (AREA)
  • Agronomy & Crop Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Primary Health Care (AREA)
  • Image Analysis (AREA)

Abstract

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 시스템은, 일면이 오픈된 용기에 담긴 두부를 이송하는 이송부, 상기 두부를 촬영하여 이에 대한 영상데이터를 획득하는 입력부, 상기 영상데이터를 기준으로 상기 두부가 정상 제품인지 불량 제품인지 판별하는 판별부, 및 상기 두부가 불량 제품임을 알리는 출력부를 포함하고, 상기 판별부는 머신 러닝을 로직으로 학습된 학습 모델을 통해, 상기 용기에 두부 외 이물질이 담겨 있는 경우를 불량 제품으로 판별하고, 상기 두부의 모서리부가 고르지 않거나 우그러진 경우를 불량 제품으로 판별할 수 있다.A quality control system using a learning model according to an embodiment of the present invention includes a transfer unit that transports tofu contained in a container with one side open, an input unit that photographs the tofu and obtains image data for it, and based on the image data, It includes a determination unit that determines whether the tofu is a normal product or a defective product, and an output unit that informs that the tofu is a defective product, and the determination unit determines that foreign substances other than tofu are contained in the container through a learning model learned using machine learning logic. If there is, it can be determined as a defective product, and if the corner of the head is uneven or dented, it can be determined as a defective product.

Description

학습 모듈을 이용한 품질관리 시스템 및 방법 {Quality control system and method using learning module}Quality control system and method using learning module}

본 발명은 인공지능 학습 모듈을 이용하여 두부생산공정에서 용기에 이물질이 포함된 제품이나 두부의 형상이 고르지 않은 제품을 신속하고 정확하게 검출할 수 있도록 하는 품질관리 시스템에 관한 것이다.The present invention relates to a quality control system that uses an artificial intelligence learning module to quickly and accurately detect products containing foreign substances in containers or products with uneven tofu shapes in the tofu production process.

일반적으로 두부의 제조 공정은, 대두를 불려 마쇄하고 여과하여 두유를 끓여 내고, 그리고 응고제를 넣고 교반 하여 응고시키고, 성형 및 압착한 후, 냉각 및 절단하여 포장한다. In general, the manufacturing process of tofu involves soaking soybeans, grinding them, filtering them, boiling soy milk, adding a coagulant, stirring it to coagulate it, forming and pressing it, cooling it, cutting it, and packaging it.

상기 두부 제조공정 과정 제품 내로 유입되는 이물질이 포함되는 경우가 있다. 예를 들어, 두부 제품을 제조하는 과정에서 머리카락, 벌레, 유바, 탄화물, 플라스틱 등의 이물질이 들어갈 수 있다. 이러한 이물질은 제품의 안정성에 문제가 될 수 있기 때문에 이물질이 포함된 제품은 미리 검출되어 그대로 출하되지 않도록 관리하는 것이 중요하다. There are cases where foreign substances introduced into the product during the tofu manufacturing process are included. For example, during the manufacturing process of tofu products, foreign substances such as hair, bugs, yuba, carbide, and plastic may enter. Because these foreign substances can cause problems with product stability, it is important to detect products containing foreign substances in advance and manage them so that they are not shipped as is.

또한, 두부 제품은 PP 재질의 용기에 포장된 상태로 시중에 유통될 수 있는데, 두부 제품을 용기에 포장하기 위하여, 성형 틀에서 성형한 후 일 측에 날이 형성된 커터에 의해 일정한 크기로 절단할 수 있다. 이 과정에서 두부 제품은 모서리에 부스러짐과 같은 손상이나 파손이 발생하거나, 절단면이 고르지 않는 등의 이유로 그 형태가 일정하게 제조되지 않을 수 있다. 이러한 두부 류 제품의 외관상의 하자는 안정성에 큰 영향을 미치지 않더라도 상품성을 떨어뜨리는 요인이 될 수 있다. 상품성이 떨어지는 제품은 제품에 대한 신뢰도가 떨어지는 요인으로 작용하는 바 이러한 제품은 미리 검출되어 그대로 출하되지 않도록 관리하는 것이 중요하다. In addition, tofu products can be distributed on the market packaged in containers made of PP. In order to package tofu products in containers, they are molded in a mold and then cut to a certain size by a cutter with a blade formed on one side. You can. During this process, tofu products may not be manufactured in a consistent shape due to damage or breakage such as crumbling at the edges or uneven cutting surfaces. Even if defects in the appearance of these tofu products do not have a significant impact on stability, they can be a factor in reducing marketability. Products with poor marketability act as a factor in reducing product reliability, so it is important to detect such products in advance and manage them so that they are not shipped as is.

다만, 종래에는, 포장 용기에 이물질이 포함되어 있는지 또는 포장 용기에 포함된 두부의 형상이 상품성이 떨어지는지를 육안으로 검수를 하여 검수 확률이 떨어지는 문제가 있었다. 또한, 검수자 마다 불량 제품으로 분류하는 기준이 상이하여 제품 품질의 일관성이 떨어지는 문제가 있었다. However, in the past, there was a problem of low inspection probability by visually inspecting whether the packaging container contained foreign substances or whether the shape of the tofu included in the packaging container was unmarketable. In addition, each inspector had different standards for classifying products as defective, which led to a problem of inconsistent product quality.

이에, 두부 제품과 같이 제조 과정이나 환경의 영향으로 이물질이 포함되기 쉽거나 일정한 형태로 제조하기 어려운 제품에 있어서, 불량 제품에 대한 검사를 용이하고 정확하며 획일적으로 수행할 수 있는 방안이 요구되고 있다.Accordingly, in products such as tofu products that easily contain foreign substances due to the manufacturing process or the environment or are difficult to manufacture in a certain form, there is a need for a method that can easily, accurately, and uniformly inspect defective products. .

본 발명은 머신 러닝을 학습된 모델을 이용하여 출하 전 두부 제품의 품질을 용이하고 정확하게 검사하여 제품에 대한 신뢰성을 확보하고자 한다. 구체적으로, 제품에 유입된 금속, 머리카락과 같은 이물질을 검출하는 것은 물론, 제품의 외관에 대한 품질 검사를 정밀하게 하여 제품의 품질을 향상시키고, 제품에 대한 신뢰성을 확보하는 것을 목적으로 한다.The present invention seeks to secure the reliability of the product by easily and accurately inspecting the quality of tofu products before shipping using a machine learning model. Specifically, the purpose is to improve product quality and secure product reliability by detecting foreign substances such as metal and hair that have entered the product, as well as precisely inspecting the appearance of the product.

상기 기술한 과제를 달성하기 위한 수단으로서, 본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 시스템은, 일면이 오픈된 용기에 담긴 두부를 이송하는 이송부, 상기 두부를 촬영하여 이에 대한 영상데이터를 획득하는 입력부, 상기 영상데이터를 기준으로 상기 두부가 정상 제품인지 불량 제품인지 판별하는 판별부, 및 상기 두부가 불량 제품임을 알리는 출력부를 포함하고, 상기 판별부는 머신 러닝을 로직으로 학습된 학습 모델을 통해, 상기 용기에 두부 외 이물질이 담겨 있는 경우를 불량 제품으로 판별하고, 상기 두부의 모서리부가 고르지 않거나 우그러진 경우를 불량 제품으로 판별할 수 있다. As a means to achieve the above-described task, a quality control system using a learning model according to an embodiment of the present invention includes a transfer unit for transporting tofu contained in a container with one side open, and image data for the tofu by photographing the tofu. It includes an input unit that obtains, a determination unit that determines whether the tofu is a normal product or a defective product based on the image data, and an output unit that informs that the tofu is a defective product, and the determination unit is a learning model learned using machine learning logic. Through this, if the container contains foreign substances other than tofu, it can be determined as a defective product, and if the edge of the tofu is uneven or dented, it can be determined as a defective product.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 시스템은, 상기 학습 모델이 상기 두부의 모서리부가 고르지 않거나 우그러진 정도에 따라 5개 클래스 이상으로 분류된 영상 데이터 중 정상 제품과 불량 제품으로 판별하기 불분명한 클래스의 데이터를 제외하고 학습될 수 있다. In the quality control system using a learning model according to an embodiment of the present invention, the learning model determines normal products and defective products among image data classified into five or more classes according to the degree to which the corners of the head are uneven or distorted. It can be learned excluding data of the following unclear classes.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 시스템은, 상기 학습 모델이 이물질의 종류에 따라 분류된 영상 데이터를 통해 학습된 제1 학습 모델과, 이물질이 포함되지 않고 상기 두부의 모서리부가 고르지 않거나 우그러진 정도에 따라 분류된 영상 데이터를 통해 제2 학습 모델을 포함할 수 있다. A quality control system using a learning model according to an embodiment of the present invention includes a first learning model in which the learning model is learned through image data classified according to the type of foreign matter, and a first learning model that does not contain foreign matter and has a corner of the head. A second learning model may be included through image data classified according to the degree of unevenness or distortion.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 시스템은, 상기 두부의 모퉁이를 기준으로 형성된 가상의 경계선과 상기 두부의 모서리 편차 데이터를 통해 상기 두부의 모서리부가 고른 지 학습될 수 있다. A quality control system using a learning model according to an embodiment of the present invention can learn whether the corners of the head are even through a virtual boundary line formed based on the corners of the head and edge deviation data of the head.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 시스템은, 상기 편차 데이터가 상기 가상의 경계선과 상기 두부의 모서리가 이격되어 형성하는 면적, 이격된 방향 및 최대로 이격된 정도 중 적어도 하나를 포함할 수 있다. A quality control system using a learning model according to an embodiment of the present invention is that the deviation data determines at least one of the area formed by the virtual boundary line and the edge of the head being spaced apart, the direction of the separation, and the maximum degree of separation. It can be included.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 시스템은, 상기 두부를 향해 상이한 각도로 조명을 조사하는 복수의 광원부를 더 포함하고, 상기 입력부는 상기 복수의 광원부의 on/off를 달리하여 복수의 영상데이터를 획득하고, 상기 판별부는 조명 방향이 상이하게 획득된 복수의 영상데이터를 기준으로 상기 두부가 정상 제품인지 불량 제품인지 판별할 수 있다. The quality control system using a learning model according to an embodiment of the present invention further includes a plurality of light source units that irradiate light at different angles toward the head, and the input unit turns on/off the plurality of light source units to change the A plurality of image data may be acquired, and the determination unit may determine whether the tofu is a normal product or a defective product based on the plurality of image data obtained with different illumination directions.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 시스템은, 상기 학습 모델이 조명 각도를 달리 조사하여 획득한 영상데이터에 포함된 음영 영역의 크기, 위치 및 방향 중 적어도 하나를 통해 상기 두부의 모서리가 고른 지 학습될 수 있다. A quality control system using a learning model according to an embodiment of the present invention is a quality control system in which the learning model determines the size of the head through at least one of the size, location, and direction of a shaded area included in image data obtained by irradiating different illumination angles. Edges can be learned to be even.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 시스템은, 상기 복수의 광원부가 상기 용기에 포함되어 있는 액체에 반사하지 않도록 편광된 광을 조사할 수 있다.In a quality control system using a learning model according to an embodiment of the present invention, the plurality of light source units may irradiate polarized light so as not to reflect on the liquid contained in the container.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 방법은, 용기에 담긴 두부를 정상 제품과 불량 제품으로 구분하기 위해, 일면이 오픈 된 용기에 두부를 담아 이송하는 이송단계, 상기 두부를 촬영하여 영상데이터를 획득하는 입력단계, 상기 입력단계에서 획득한 영상데이터를 기준으로 상기 두부가 정상제품인지 불량 제품인지 판별하는 판별단계, 및 상기 두부가 불량 제품임을 출력하는 출력단계를 포함하고, 상기 판별단계는 머신 러닝을 로직으로 상기 영상 데이터를 학습하는 학습 단계, 상기 학습 단계를 통해 획득한 학습 모델을 통해 상기 용기에 두부 외 이물질이 담겨 있는 경우를 불량 제품으로 판별하고, 상기 두부의 모서리부가 고르지 않거나 우그러진 경우를 불량 제품으로 판별하는 단계를 포함할 수 있다. A quality control method using a learning model according to an embodiment of the present invention includes a transport step of transporting tofu in a container with one side open in order to classify the tofu contained in the container into a normal product and a defective product, and photographing the tofu. An input step of acquiring image data, a determination step of determining whether the tofu is a normal product or a defective product based on the image data obtained in the input step, and an output step of outputting that the tofu is a defective product, The discrimination step is a learning step of learning the image data using machine learning logic, and determining if the container contains foreign substances other than tofu as a defective product through a learning model acquired through the learning step, and determining that the edge of the tofu is a defective product. It may include the step of determining that an uneven or distorted product is a defective product.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 방법은, 상기 학습 단계가 상기 두부 영상 데이터를 상기 두부의 모서리부가 고르지 않거나 우그러진 정도에 따라 5개 클래스 이상으로 분류하는 단계, 분류된 복수의 상기 클래스 중 상기 두부를 정상 제품 또는 비정상 제품으로 판별하기 불분명한 클래스를 제외하는 단계, 및 상기 제외한 클래스의 영상 데이터 외 나머지 영상 데이터를 이용하여 학습하는 단계를 포함할 수 있다. The quality control method using a learning model according to an embodiment of the present invention includes the learning step of classifying the head image data into five or more classes according to the degree to which the corners of the head are uneven or distorted, and a plurality of classified It may include a step of excluding a class in which it is unclear to determine the tofu as a normal product or an abnormal product among the classes, and learning using the remaining image data in addition to the image data of the excluded class.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 방법은, 상기 학습 단계가 상기 두부의 영상 데이터에서 상기 두부의 모퉁이를 기준으로 경계면을 형성하는 단계, 상기 형성된 경계면과 상기 두부의 모서리의 편차 데이터를 획득하는 단계, 및 상기 획득한 편차 데이터를 이용하여 학습하는 단계를 포함할 수 있다. The quality control method using a learning model according to an embodiment of the present invention includes the learning step of forming a boundary surface based on the corner of the head in the image data of the head, and the difference between the formed boundary surface and the corner of the head. It may include acquiring data, and learning using the obtained deviation data.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 방법은, 상기 입력 단계가 상기 두부를 향해 제1 각도로 광을 조사하여 영상 데이터를 획득하는 제1 영상 데이터 획득 단계, 및 상기 두부를 향해 상기 제1 각도와 상이한 제2 각도로 광을 조사하여 영상 데이터를 획득하는 제2 영상 데이터 획득 단계를 포함할 수 있다. The quality control method using a learning model according to an embodiment of the present invention includes a first image data acquisition step in which the input step acquires image data by irradiating light at a first angle toward the head, and It may include a second image data acquisition step of acquiring image data by irradiating light at a second angle that is different from the first angle.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 방법은, 상기 학습 단계가 상기 제1 영상 데이터 및 상기 제2 영상 데이터의 음영 영역을 분별하는 단계, 및 상기 분별된 음영 영역 데이터를 이용하여 학습하는 단계를 포함할 수 있다. The quality control method using a learning model according to an embodiment of the present invention includes the learning step of distinguishing shaded areas of the first image data and the second image data, and using the differentiated shaded area data. It may include a learning step.

본 발명에 의하면, 제품에 유입된 금속, 머리카락과 같은 이물질을 검출하는 것은 물론, 제품의 외관에 대한 품질 검사를 용이하고 정밀하게 수행할 수 있다. 이에, 제품의 품질을 향상시키고, 제품에 대한 신뢰성을 확보할 수 있다.According to the present invention, it is possible to detect foreign substances such as metal and hair that have entered the product, as well as to easily and precisely perform a quality inspection on the appearance of the product. Accordingly, the quality of the product can be improved and the reliability of the product can be secured.

본 발명에 의하면 이물질을 검출하는 기준 및 제품 외관에 대한 품질 검사에 일관성을 부여할 수 있어 제품 품질의 일관성을 확보할 수 있다. According to the present invention, it is possible to provide consistency in standards for detecting foreign substances and quality inspection for product appearance, thereby ensuring consistency in product quality.

물론 이러한 효과에 의해 본 발명의 범위가 한정되는 것은 아니다.Of course, the scope of the present invention is not limited by this effect.

도 1은 본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 시스템의 블록도이다.
도 2는 본 발명의 일 실시예에 따른 정상 제품과 불량 제품을 설명하기 위한 도면이다.
도 3 및 4은 본 발명의 일 실시예 따른 두부의 모서리가 고른 지 판별하는 학습 모델을 설명하기 위한 도면이다.
도 5은 본 발명의 일 실시예에 따른 두부의 모서리가 고른 지 판별하는 학습 모델에 이용되는 데이터를 설명하기 위한 도면이다.
도 6은 본 발명의 일 실시예에 따른 두부의 모서리가 고른 지 판별하는 학습 모델에 이용되는 데이터를 설명하기 위한 도면이다.
도 7은 본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 방법을 설명하기 위한 순서도이다.
1 is a block diagram of a quality control system using a learning model according to an embodiment of the present invention.
Figure 2 is a diagram for explaining normal products and defective products according to an embodiment of the present invention.
Figures 3 and 4 are diagrams for explaining a learning model for determining whether the edges of the head are even according to an embodiment of the present invention.
Figure 5 is a diagram for explaining data used in a learning model that determines whether the edges of the head are even according to an embodiment of the present invention.
Figure 6 is a diagram for explaining data used in a learning model that determines whether the edges of the head are even according to an embodiment of the present invention.
Figure 7 is a flowchart for explaining a quality control method using a learning model according to an embodiment of the present invention.

이하, 도면을 참조하여 본 발명의 구체적인 실시형태를 설명하기로 한다. 이하의 상세한 설명은 본 명세서에서 기술된 방법, 장치 및/또는 시스템에 대한 포괄적인 이해를 돕기 위해 제공된다. 그러나 이는 예시에 불과하며 본 발명은 이에 제한되지 않는다.Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. The detailed description below is provided to provide a comprehensive understanding of the methods, devices and/or systems described herein. However, this is only an example and the present invention is not limited thereto.

본 발명의 실시예들을 설명함에 있어서, 본 발명과 관련된 공지기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략하기로 한다. 그리고, 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로써 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다. 상세한 설명에서 사용되는 용어는 단지 본 발명의 실시예들을 기술하기 위한 것이며, 결코 제한적이어서는 안 된다. 명확하게 달리 사용되지 않는 한, 단수 형태의 표현은 복수 형태의 의미를 포함한다. 본 설명에서, "포함" 또는 "구비"와 같은 표현은 어떤 특성들, 숫자들, 단계들, 동작들, 요소들, 이들의 일부 또는 조합을 가리키기 위한 것이며, 기술된 것 이외에 하나 또는 그 이상의 다른 특성, 숫자, 단계, 동작, 요소, 이들의 일부 또는 조합의 존재 또는 가능성을 배제하도록 해석되어서는 안 된다.In describing the embodiments of the present invention, if it is determined that a detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description will be omitted. In addition, the terms described below are terms defined in consideration of functions in the present invention, and may vary depending on the intention or custom of the user or operator. Therefore, the definition should be made based on the contents throughout this specification. The terminology used in the detailed description is merely for describing embodiments of the present invention and should in no way be limiting. Unless explicitly stated otherwise, singular forms include plural meanings. In this description, expressions such as “comprising” or “comprising” are intended to indicate certain features, numbers, steps, operations, elements, parts or combinations thereof, and one or more than those described. It should not be construed to exclude the existence or possibility of any other characteristic, number, step, operation, element, or part or combination thereof.

본 명세서에 있어서 '부(部)'란, 하드웨어에 의해 실현되는 유닛(unit), 소프트웨어에 의해 실현되는 유닛, 양방을 이용하여 실현되는 유닛을 포함한다. 또한, 1 개의 유닛이 2 개 이상의 하드웨어를 이용하여 실현되어도 되고, 2 개 이상의 유닛이 1 개의 하드웨어에 의해 실현되어도 된다. 한편, '~부'는 소프트웨어 또는 하드웨어에 한정되는 의미는 아니며, '~부'는 어드레싱 할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서 '~부'는 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램 코드의 세그먼트들, 드라이버들, 펌웨어, 마이크로코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들 및 변수들을 포함한다. 구성요소들과 '~부'들 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 '~부'들로 결합되거나 추가적인 구성요소들과 '~부'들로 더 분리될 수 있다. 뿐만 아니라, 구성요소들 및 '~부'들은 디바이스 또는 보안 멀티미디어카드 내의 하나 또는 그 이상의 CPU들을 재생시키도록 구현될 수도 있다.In this specification, 'part' includes a unit realized by hardware, a unit realized by software, and a unit realized using both. Additionally, one unit may be realized using two or more pieces of hardware, and two or more units may be realized using one piece of hardware. Meanwhile, '~ part' is not limited to software or hardware, and '~ part' may be configured to reside in an addressable storage medium or may be configured to reproduce one or more processors. Therefore, as an example, '~ part' refers to components such as software components, object-oriented software components, class components, and task components, processes, functions, properties, and procedures. , subroutines, segments of program code, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and variables. The functions provided within the components and 'parts' may be combined into a smaller number of components and 'parts' or may be further separated into additional components and 'parts'. Additionally, components and 'parts' may be implemented to regenerate one or more CPUs within a device or a secure multimedia card.

어떤 실시예가 달리 구현 가능한 경우에 특정한 공정 순서는 설명되는 순서와 다르게 수행될 수도 있다. 예를 들어, 연속하여 설명되는 두 공정이 실질적으로 동시에 수행될 수도 있고, 설명되는 순서와 반대의 순서로 진행될 수 있다.In cases where an embodiment can be implemented differently, a specific process sequence may be performed differently from the described sequence. For example, two processes described in succession may be performed substantially at the same time, or may be performed in an order opposite to that in which they are described.

이하 첨부된 도면을 참고하여 본 발명의 일 실시예를 상세히 설명하기로 한다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the attached drawings.

도 1은 본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 시스템(100)의 블록도이다.Figure 1 is a block diagram of a quality management system 100 using a learning model according to an embodiment of the present invention.

본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 시스템(100)은 이송부(110), 입력부(120), 판별부(130) 및 출력부(140)를 포함할 수 있다. The quality control system 100 using a learning model according to an embodiment of the present invention may include a transfer unit 110, an input unit 120, a determination unit 130, and an output unit 140.

이송부(110)는 컨베이어 벨트, 구동모터 및 엔코더를 포함하여, 검사대상물인 두부를 이송하는 장치일 수 있다.The transport unit 110 may be a device that transports the head, which is an inspection object, including a conveyor belt, a drive motor, and an encoder.

컨베이어 벨트는 안착된 검사대상물품을 이송할 수 있는 부분으로, 고무, 합성고무, 스틸코드 등이 재료로 사용될 수 있다. 컨베이어 벨트 상에는 검사대상제품이 이송하는 이송경로가 형성되고, 검사대상제품의 원활한 이송을 위하여 이송경로는 직선 경로로 형성될 수 있다. The conveyor belt is a part that can transport the mounted inspection object, and materials such as rubber, synthetic rubber, and steel cord can be used. A transport path through which the product to be inspected is transported is formed on the conveyor belt, and for smooth transport of the product to be inspected, the transport path can be formed as a straight path.

컨베이어 벨트는 장치의 자동화를 위하여 구동부에 의해 순환될 수 있는데, 구동부는 구동모터로 형성될 수 있으며, 구동모터의 구동을 감지할 수 있는 엔코더가 구비될 수 잇다. 엔코더는 구동모터의 회전속도나 방향 등을 감지하여, 감지신호를 생성하고, 감지신호에 기초하여 구동모터가 제어될 수 있다. The conveyor belt can be circulated by a driving part for automation of the device. The driving part may be formed of a driving motor, and may be provided with an encoder that can detect the operation of the driving motor. The encoder can detect the rotational speed or direction of the drive motor, generate a detection signal, and control the drive motor based on the detection signal.

이송부(110) 상에서 검사대상제품은 이동 방향에 대하여 횡으로 복수개가 위치한 상태로 이동할 수 있다. 예를 들어, 검사대상제품은 옆으로 나란히 두 개가 위치한 상태로 기 설정 간격으로 컨베이어 벨트 상에 구비되어 이동할 수 있다. On the transfer unit 110, the product to be inspected may be moved in a state where a plurality of products are positioned horizontally with respect to the direction of movement. For example, two products to be inspected can be placed side by side and moved on a conveyor belt at preset intervals.

이송부(110)는 검사대상제품을 검사하는 위치로 이송하는 부분과 검사 후 포장을 위한 위치로 이송하는 부분을 포함할 수 있다. 추가적으로, 이송부(110)는 검사대상제품을 검사 후 불량 제품을 제외하는 구성을 포함할 수 있다. 불량 제품을 제외하는 구성은, 정상 제품과 구분하여 라인을 달리하거나 이송부(110) 상에서 불량 제품을 이탈시키는 구성일 수 있다. The transfer unit 110 may include a part that transports the product to be inspected to a location for inspection and a part that transports the product to a location for packaging after inspection. Additionally, the transfer unit 110 may include a component that inspects the inspection target product and excludes defective products. The configuration for excluding defective products may be a configuration that separates defective products from normal products, changes the line, or removes defective products from the transfer unit 110.

입력부(120)는 카메라를 포함할 수 있다. 입력부(120)는 이송부(110) 상에서 이송되는 검사대상물품에 대한 영상 이미지를 획득할 수 있다. 영상 이미지는 검사대상물품 및 그 주변 영역을 포함하는 이미지 일 수 있다. 예를 들어, 영상 이미지는 두부 및 두부를 포함하는 용기를 포함하도록 획득될 수 있다. The input unit 120 may include a camera. The input unit 120 may acquire a video image of the inspection object being transferred on the transfer unit 110. The video image may be an image that includes the inspection target item and its surrounding area. For example, a video image may be acquired that includes tofu and a container containing tofu.

카메라는 적어도 하나 구비될 수 있고, 일 실시예로 카메라는 비전 카메라, 엑스레이 카메라 및 초분광 카메라 중 적어도 하나를 포함할 수 있다. At least one camera may be provided, and in one embodiment, the camera may include at least one of a vision camera, an X-ray camera, and a hyperspectral camera.

비전 카메라는 400nm ~ 700nm 영역의 RGB 이미지를 획득할 수 있는 장치로서, 예를 들어 CCD 카메라 또는 CMOS 카메라를 포함할 수 있다. 비전 카메라를 통하여, 검사대상물품의 형태, 모양, 색 등에 관한 이미지 및 검사대상물품의 외관에 포함된 이물질에 대한 이미지를 획득할 수 있다. A vision camera is a device that can acquire RGB images in the 400nm to 700nm range and may include, for example, a CCD camera or a CMOS camera. Through a vision camera, images of the shape, shape, and color of the inspection target article and images of foreign substances contained in the exterior of the inspection target article can be obtained.

엑스레이 카메라는 투광기와 수광기로 구성되어, 투광기에 조사된 엑스레이가 검사대상물품을 투과한 뒤 수광기에 이미지로 전환될 수 있다. 엑스레이 카메라를 통하여 검사대상물품에 포함된 이물질, 예를 들어 금속, 유리, 돌 등과 같이 밀도가 큰 이물질에 관한 이미지를 획득할 수 있다. An X-ray camera consists of an emitter and a receiver, and the X-rays emitted by the emitter can pass through the object to be inspected and then converted into an image by the receiver. Through an X-ray camera, images of foreign substances included in the inspection object, for example, foreign substances with high density such as metal, glass, stone, etc., can be obtained.

초분광 카메라는 400nm ~ 1700nm 영역의 초분광 이미지를 획득할 수 있는 장치로서, 파장대별로 분할된 이미지를 획득할 수 있기 때문에, 검사대상물품에 포함된 다른 성분의 이물질에 대한 이미지를 획득할 수 있다. A hyperspectral camera is a device that can acquire hyperspectral images in the range of 400nm to 1700nm. Since it can acquire images divided by wavelength, it can acquire images of foreign substances contained in other components of the inspection target product. .

입력부(120)는 영상 이미지를 보다 용이하게 할 수 있도록 또는 상황별 다른 영상 이미지를 획득할 수 있도록 조명장치를 포함할 수 있다. 여기서 조명장치는 광원부에 대응될 수 있다. 경우에 따라서 광원부는 입력부(120)와 별도의 구성으로 본 발명에 포함될 수 있다.The input unit 120 may include a lighting device to make it easier to view video images or to obtain different video images depending on the situation. Here, the lighting device may correspond to the light source unit. In some cases, the light source unit may be included in the present invention as a separate component from the input unit 120.

조명장치는 가시광선 및 근적외선 영역의 파장, 예를 들어 380 내지 1700nm의 파장을 포함하는 광을 조사할 수 있다. 일 실시예로, 조명장치는 NIR LED(near infrared light emitting diode, 근적외선 발광 다이오드)와 같은 특수 조명이나 할로겐 램프를 이용하여 구성될 수 있다.The lighting device can irradiate light containing wavelengths in the visible and near-infrared regions, for example, 380 to 1700 nm. In one embodiment, the lighting device may be configured using special lighting such as a near infrared light emitting diode (NIR LED) or a halogen lamp.

조명 장치는 검사대상물품에 광을 조사하는 방향을 달리하도록 위치를 달리하여 복수 개 포함될 수 있다. 입력부(120)에 포함된 카메라는 복수의 조명 장치가 순차적으로 혹은 기 설정 조합으로 on/off 됨에 대응하여 하나의 검사대상제품에 대하여 복수의 영상 이미지를 획득할 수 있다. A plurality of lighting devices may be included in different positions to vary the direction of irradiating light to the inspection object. The camera included in the input unit 120 can acquire a plurality of video images for one inspection target product in response to a plurality of lighting devices being turned on/off sequentially or in a preset combination.

입력부(120)에서 획득된 검사대상물품에 대한 영상 이미지는 판별부(130)로 전달될 수 있다. The video image of the object to be inspected obtained from the input unit 120 may be transmitted to the determination unit 130.

판별부(130)는 검사대상물품의 정상 여부를 판정하기 위한 영상분석부(131)를 포함할 수 있다. 여기서, 영상분석부(131)는 기본적인 산술, 로직 및 입출력 연산을 수행함으로써, 컴퓨터 프로그램의 명령을 처리하도록 구성될 수 있다. 명령은 메모리부(132) 또는 통신부(133)에 의해 영상분석부(131)로 제공될 수 있다. 여기서, 영상분석부(131)는, 예를 들어 프로그램 내에 포함된 코드 또는 명령으로 표현된 기능을 수행하기 위해 물리적으로 구조화된 회로를 갖는, 하드웨어에 내장된 데이터 처리 장치를 의미할 수 있다. The determination unit 130 may include an image analysis unit 131 to determine whether the inspection object is normal. Here, the image analysis unit 131 may be configured to process commands of a computer program by performing basic arithmetic, logic, and input/output operations. Commands may be provided to the image analysis unit 131 by the memory unit 132 or the communication unit 133. Here, the image analysis unit 131 may mean, for example, a data processing device built into hardware that has a physically structured circuit to perform a function expressed as a code or command included in a program.

이와 같이 하드웨어에 내장된 데이터 처리 장치의 일 예로써, 마이크로프로세서(Microprocessor), 중앙처리장치(Central Processing Unit: CPU), 프로세서 코어(Processor Core), 멀티프로세서(Multiprocessor), ASIC(Application-Specific Integrated Circuit), FPGA(Field Programmable Gate Array) 등의 처리 장치를 망라할 수 있으나, 본 발명의 범위가 이에 한정되는 것은 아니다.Examples of data processing devices built into hardware include microprocessor, central processing unit (CPU), processor core, multiprocessor, and application-specific integrated (ASIC). Circuit), FPGA (Field Programmable Gate Array), etc., but the scope of the present invention is not limited thereto.

영상분석부(131)는 머신 러닝을 로직으로 학습된 학습 모델을 이용하여 영상 데이터를 분석할 수 있다. 구체적으로, R-CNN 방식의 딥러닝 로직으로 학습된 학습 모델을 이용하여 검사대상물품이 정상 제품인지 불량제품인지 판별할 수 있다. 여기서, R-CNN(Regions with Convolution Neural Network) 방식의 딥러닝 로직은 CNN의 개념에 지역적으로 탐색부분을 나눈다는 개념을 더한 것으로서, 촬영 영역에 있는 모든 이미지를 탐색하는 것 보다 특정 영역에 대한 이미지를 탐색하는 것이다. 구체적으로, 학습 모델은 두부를 담긴 용기를 특정 영역으로 딥러닝 로직으로 학습될 수 있다. The video analysis unit 131 can analyze video data using a learning model learned using machine learning logic. Specifically, it is possible to determine whether the inspection target product is a normal product or a defective product using a learning model learned with deep learning logic of the R-CNN method. Here, the deep learning logic of the R-CNN (Regions with Convolution Neural Network) method adds the concept of dividing the search part regionally to the concept of CNN. Rather than searching all images in the shooting area, the deep learning logic of the R-CNN (Regions with Convolution Neural Network) method adds the concept of dividing the search part regionally. is to explore. Specifically, the learning model can be learned using deep learning logic as a specific area containing a container containing tofu.

학습 모델을 검사대상제품인 두부(구체적으로, 일면이 개방된 용기에 담긴 두부)의 영상 데이터를 학습하여 용기안에 이물질이 들어 있는 경우 불량제품으로 분별하고, 두부의 모서리가 고르지 않거나 우그러진 경우 불량제품으로 분별할 수 있다. The learning model is trained on image data of tofu (specifically, tofu contained in a container with one side open), which is the product to be inspected, and classifies it as a defective product if there is a foreign substance in the container. If the edge of the tofu is uneven or dented, it is classified as a defective product. It can be distinguished as:

학습 모델은 영상분석부(131)에서 실행가능한 응용 소프트웨어 또는 응용 소프트웨어를 통해 실행할 수 있는 실행 파일 중 적어도 하나의 형태로 메모리부(132)에 저장되어 있거나, 통신부(133)를 통해 통신할 수 있는 외부 서버에 포함될 수 있다. The learning model is stored in the memory unit 132 in the form of at least one of application software executable in the image analysis unit 131 or an executable file executable through application software, or can be communicated through the communication unit 133. Can be included on an external server.

출력부(140)는 판별부(130)를 통해 판별된 결과는 사용자가 알 수 있도록 출력해줄 수 있다. 출력부(140)는 영상 이미지를 통해 불량 제품을 표시하거나, 알림음을 통해서 검사대상제품이 불량 제품임을 알려줄 수 있다. 경우에 따라서, 출력부(140)는 사용자가 별도로 가지고 다닐 수 있는 전자장치에 대응될 수 있다. The output unit 140 can output the results determined through the determination unit 130 so that the user can see them. The output unit 140 may display a defective product through a video image or notify that the product to be inspected is a defective product through a notification sound. In some cases, the output unit 140 may correspond to an electronic device that the user can separately carry.

구체적으로, 출력부(140)는 검사대상제품에 이물질이 있어서 불량 제품으로 판별된 경우와, 두부의 모서리부가 고르지 않거나 우그러져서 불량 제품으로 판별된 경우를 구분하여 표시할 수 있다. 경우에 따라서, 출력부(140)는 검사대상제품에 무슨 이물질이 있어서 불량 제품으로 판별된 경우를 구분하여 표시할 수 있다. Specifically, the output unit 140 can distinguish between cases where the product to be inspected is determined to be a defective product because it contains foreign substances, and cases where it is determined to be a defective product because the corners of the head are uneven or distorted. In some cases, the output unit 140 may distinguish and display cases in which the product to be inspected is determined to be a defective product due to the presence of foreign substances.

도 2는 본 발명의 일 실시예에 따른 정상 제품과 불량제품을 설명하기 위한 도면이다. 구체적으로, 도 2는 검사대상제품인 두부가 용기에 담긴 상태로 촬영된 영상 이미지를 정상제품(a)과 불량제품(b 내지 h)로 구분하여 도시하고 있다. Figure 2 is a diagram for explaining normal products and defective products according to an embodiment of the present invention. Specifically, Figure 2 shows video images taken with tofu, a product to be inspected, contained in a container, divided into normal products (a) and defective products (b to h).

검사대상제품인 두부는 일면(ex, 상면)에 바라봤을 때 사각형의 형상으로 절단된 상태로 용기에 담겨 제품화될 수 있다. 영상 이미지는 일면이 개방된 용기에 두부가 액체에 담겨 있는 상태로 촬영된 이미지에 대응될 수 있다. 구체적으로, 제1 영상 이미지(a)는 정상제품에 대응되는 영상 이미지이고, 제2 내지 8 영상 이미지(b 내지 h)는 불량제품에 대응되는 영상 이미지이다.Tofu, which is a product subject to inspection, can be placed in a container and commercialized in a state that is cut into a square shape when viewed from one side (ex, top side). The video image may correspond to an image taken with tofu submerged in liquid in a container with one side open. Specifically, the first video image (a) is a video image corresponding to a normal product, and the second to eighth video images (b to h) are video images corresponding to a defective product.

정상제품은 상면에서 바라봤을 때 모서리부가 고른 제품 및 용기 내부에 이물질이 없는 제품에 대응될 수 있다. 불량제품은 두부의 모서리부가 고르지 않거나 우그러진 경우와 용기 내부에 이물질이 포함된 경우로 구분될 수 있다. 구체적으로, 제2 영상 이미지(b)는 두부의 일 모서리부(B 영역)가 고르지 않고 우그러진 실시예를 도시하고 있다. 제3 내지 8 영상 이미지(c 내지 h)는 두부에 이물질이 들어 있는 실시예를 도시하고 있다. 구체적으로, 제3 영상 이미지(c)는 용기내 C 영역에 금속이 있는 실시예를 도시하고 있다. 제4 영상 이미지(d)는 용기내 D 영역에 머리카락이 있는 실시예를 도시하고 있다. 제5 영상 이미지(e)는 용기내 E 영역에 벌레가 있는 실시예를 도시하고 있다. 제6 영상 이미지(f)는 용기내 F 영역에 유바(두부피)가 있는 실시예를 도시하고 있다. 제7 영상 이미지(g)는 용기내 G 영역에 탄화물이 있는 실시예를 도시하고 있다. 제8 영상 이미지(h)는 용기내 H 영역에 플라스틱이 있는 실시예를 도시하고 있다. A normal product can correspond to a product with even edges when viewed from the top and a product with no foreign substances inside the container. Defective products can be divided into cases where the edges of the tofu are uneven or dented and cases where foreign substances are contained inside the container. Specifically, the second video image (b) shows an example in which one corner of the head (area B) is uneven and distorted. The third to eighth video images (c to h) show an example in which a foreign substance is contained in the head. Specifically, the third video image (c) shows an example in which metal is present in region C within the container. The fourth video image (d) shows an example in which there is hair in area D within the container. The fifth video image (e) shows an example in which bugs are present in area E within the container. The sixth video image (f) shows an example in which yuba (cephalic skin) is present in area F within the container. The seventh video image (g) shows an example in which carbide is present in the G region within the container. The eighth video image (h) shows an example in which plastic is present in the H area within the container.

영상 데이터를 상기 8개의 경우로 클래스를 구분하여 머신 러닝을 통해 학습 모델을 형성할 수 있다. 클래스로 구분된 영상 데이터를 통해 학습된 학습 모델은 정상제품과 구분하여 용기에 두부 외 이물질이 담겨 있는 경우를 불량 제품으로 판별하고, 상기 두부의 모서리부가 고르지 않거나 우그러진 경우를 불량 제품으로 판별할 수 있다. Video data can be divided into classes into the above eight cases and a learning model can be formed through machine learning. The learning model learned through image data divided into classes distinguishes normal products from normal products and determines cases where foreign substances other than tofu are contained in the container as defective products, and determines cases where the corners of the tofu are uneven or distorted as defective products. You can.

경우에 따라서, 영상 데이터를 통해 학습된 학습 모델은 이물질 포함 여부에 따라 분류된 영상 데이터를 통해 학습된 제1 학습 모델과, 이물질이 포함되지 않고 두부의 모서리부가 고르지 않거나 우그러진 정도에 따라 분류된 영상 데이터를 통해 학습된 제2 학습 모델을 포함할 수 있다. 구체적으로, 영상 데이터는 제1 영상 이미지(a)와 제2 영상 이미지(b)를 하나의 클래스로 포함하고, 제3 내지 제8 영상 이미지(c 내지 h)를 각각의 클래스로 구분되고, 이를 이용하여 제1 학습 모델을 형성할 수 있다. 그리고, 제1 영상 이미지(a)와 제2 영상 이미지(b)만을 각각의 클래스로 나누고 이를 이용하여 제2 학습 모델을 형성할 수 있다. In some cases, the learning model learned through image data is a first learning model learned through image data classified according to whether or not it contains foreign substances, and a first learning model learned through image data that does not contain foreign substances and is classified according to the degree to which the corners of the head are uneven or distorted. It may include a second learning model learned through image data. Specifically, the video data includes the first video image (a) and the second video image (b) as one class, and the third to eighth video images (c to h) are divided into respective classes. The first learning model can be formed using this. Also, only the first video image (a) and the second video image (b) can be divided into respective classes and used to form a second learning model.

학습 모델은 제1 학습 모델을 통해 이물질이 포함되었는지 판별할 수 있다. 이물질이 포함된 경우 불량제품으로 판별하고, 이물질이 포함되지 않는 경우 제2 학습 모델로 두부의 모서리부가 고른 지 판별할 수 있다. 두부의 모서리부가 고르지 않거나 우그러진 경우 불량제품으로 판별하고, 두부의 모서리부가 고른 경우 정상 제품으로 판별할 수 있다.The learning model can determine whether a foreign substance is included through the first learning model. If foreign substances are included, it is determined to be a defective product, and if foreign substances are not included, the second learning model can be used to determine whether the edges of the tofu are even. If the corners of the tofu are uneven or dented, it can be judged as a defective product, and if the corners of the tofu are even, it can be judged as a normal product.

영상 데이터를 이물질 유무 및 종류로 구분하여 제1 학습 모델을 형성하고, 이물질이 없는 영상 데이터를 두부의 모서리부가 고른 지로 구분하여 제2 학습 모델을 형성하는 경우 판별하는 대상이 상이하여 보다 효과적인 학습 모델이 형성될 수 있다. 구체적으로, 제1 학습 모델은 용기를 기준으로 학습을 진행하게 되고, 제2 학습 모델은 두부를 기준으로 학습을 진행하고 있어서 구분하여 학습하는 것이 바람직할 수 있다.When the first learning model is formed by dividing the image data into the presence or absence of foreign substances and their type, and the second learning model is formed by dividing the image data without foreign substances by whether the edges of the head are even, a more effective learning model because the objects to be judged are different. This can be formed. Specifically, the first learning model learns based on the container, and the second learning model learns based on the head, so it may be desirable to learn them separately.

다만, 두부의 모서리가 고르지 않거나 우그러진 정도에 따라 정상 제품과 비정상 제품으로 구분하게 되는데 판단 경계가 불분명할 수 있다. 이런 문제를 해결하기 위해 이하 설명한다. However, products are classified into normal and abnormal products depending on the degree to which the edges of the head are uneven or distorted, but the boundary of judgment may be unclear. To solve this problem, it is explained below.

도 3 및 4는 본 발명의 일 실시예에 따른 두부의 모서리가 고른 지 판별하는 학습 모델을 설명하기 위한 도면이다. 구체적으로, 도 3은 두부가 고른 지 판별하는 학습 모델에 이용되는 영상 데이터 구분 실시예를 도시하고 있다. 도 4는 도 3과 같이 구분된 영상 데이터를 이용하여 학습하는 과정을 설명하기 위한 도면이다. Figures 3 and 4 are diagrams for explaining a learning model for determining whether the edges of the head are even according to an embodiment of the present invention. Specifically, Figure 3 shows an example of image data classification used in a learning model that determines whether the tofu is even. FIG. 4 is a diagram for explaining a learning process using image data divided as shown in FIG. 3.

두부의 모서리가 고른 지 아닌 지에 따라 정상 제품과 불량 제품을 구분하는 것은 상대적인 평가이기 때문에 이분법 적으로 구분하기 어렵다. 실제로 종래 검수자들이 육안으로 판단할 때도 검수자마다 판단 기준이 상이하여 제품 완성도에 획일성이 떨어지곤 했다. Distinguishing between good and defective products based on whether the edges of the tofu are even or not is a relative evaluation, so it is difficult to make a dichotomous distinction. In fact, even when conventional inspectors judged with the naked eye, each inspector had different judgment standards, resulting in a lack of uniformity in product completeness.

이러한 문제를 해결하기 위해, 영상 데이터를 두부의 모서리부가 고르지 않거나 우그러진 정도에 따라 5개 클래스 이상으로 구분하고, 구분된 클래스 중 정상 제품과 불량 제품으로 판별하기 불분명한 클래스의 영상 데이터를 제외한 후 머신 러닝을 로직으로 학습하여 학습 모델을 형성할 수 있다. 여기서, 사용되는 영상 데이터는 이물질이 포함되지 않은 영상 데이터 일 수 있다. To solve this problem, the image data is divided into five or more classes according to the degree to which the corners of the head are uneven or distorted, and after excluding the image data of classes where it is unclear to distinguish between normal and defective products among the classified classes, You can form a learning model by learning machine learning with logic. Here, the image data used may be image data that does not contain foreign substances.

도 3은 영상 데이터를 두부의 모서리부가 고르지 않거나 우그러진 정도에 따라 5개 클래스로 구분된 실시예를 도시하고 있다. 클래스 A 내지 E는 두부의 모서리가 고르지 않거나 우그러진 정도에 따라 구분된 실시예이다. 구체적으로, 클래스 A는 두부의 모서리가 가장 고른 영상 데이터 실시예이고, 클래스 E는 두부의 모서리가 가장 고르지 않고 우그러진 영상 데이터의 실시예이다. 클래스 A와 클래스 B는 정상 제품으로 구분되고, 클래스 D와 클래스 E는 불량제품으로 구분되고, 클래스 C는 제외된 상태로 머신 러닝 로직으로 학습될 수 있다. 이렇게 학습된 학습 모델은 클래스 B와 클래스 D 간 차이가 명확하여 정상 제품과 불량제품을 보다 명확하게 구분할 수 있다. 이때, 학습된 모델의 성능이 떨어지는 경우 클래스 C에 대응되는 영상 데이터를 다시 선별하여 동일한 방법으로 머신 러닝 로직으로 학습될 수 있다. Figure 3 shows an example in which image data is divided into five classes according to the degree to which the corners of the head are uneven or distorted. Classes A to E are examples classified according to the degree to which the edges of the head are uneven or distorted. Specifically, class A is an example of image data with the most even edges of the head, and class E is an example of image data with the most uneven and distorted edges of the head. Class A and Class B are classified as normal products, Class D and Class E are classified as defective products, and Class C is excluded and can be learned using machine learning logic. The learning model learned in this way has a clear difference between class B and class D, making it possible to more clearly distinguish between normal and defective products. At this time, if the performance of the learned model is poor, the image data corresponding to class C can be selected again and learned using machine learning logic in the same way.

실질적으로, 클래스 B와 클래스 D간의 차이를 명확하게 하는 것이 중요하기 때문에 클래스 B와 클래스 D만을 구분하여 머신 러닝 로직으로 학습될 수 있다. 도 4를 참조하면, 모든 영상 데이터(510)에서(경우에 따라서, 여기서 사용되는 영상 데이터는 이물질이 포함되지 않은 영상 데이터 일 수 있다.) 두부의 모서리가 고른 지 판별하기 위한 영상 데이터 군집(520)을 선별하여 머신 러닝 로직으로 학습(530)될 수 있다. 두부의 모서리가 고른 지 판별하기 위한 영상 데이터 군집(520)은 클래스 B에 대응되는 영상 데이터 군집(521)와 클래스 D에 대응되는 영상 데이터 군집(522)로 구분될 수 있다. 마찬가지로, 이때, 학습된 모델의 성능이 떨어지는 경우 클래스 C에 대응되는 영상 데이터를 다시 선별하여 동일한 방법으로 머신 러닝 로직으로 학습될 수 있다.In practice, it is important to make the difference between class B and class D clear, so only class B and class D can be trained with machine learning logic. Referring to FIG. 4, in all the image data 510 (in some cases, the image data used here may be image data that does not contain foreign substances), an image data cluster 520 is used to determine whether the edges of the head are even. ) can be selected and learned (530) using machine learning logic. The image data cluster 520 for determining whether the edges of the head are even can be divided into an image data cluster 521 corresponding to class B and an image data cluster 522 corresponding to class D. Similarly, at this time, if the performance of the learned model is poor, the image data corresponding to class C can be selected again and learned using machine learning logic in the same way.

영상 데이터의 클래스를 구분하는 것은 사용자가 라벨링을 하여 구분할 수 있고, 자기 학습을 통해 그룹화 할 수 있다. 이때, 영상 데이터에 이물질이 없는 경우가 그룹화가 보다 용이할 수 있다. 그룹화 된 영상 데이터에서 제외되는 클래스는 사용자가 판단하여 지정하는 것이 바람직할 수 있다. Classification of video data can be done through user labeling and grouping through self-learning. At this time, grouping may be easier when there is no foreign matter in the image data. It may be desirable for the user to determine and specify classes excluded from grouped image data.

도 5은 본 발명의 일 실시예에 따른 두부의 모서리가 고른 지 판별하는 학습 모델에 이용되는 데이터를 설명하기 위한 도면이다. 구체적으로 도 5(a)는 두부의 모서리가 고르지 않아 불량 제품으로 판별되는 영상 데이터의 실시예이고, 도 5(b)는 이를 불량 제품으로 판별하는 방법을 설명하기 위한 도면이다.Figure 5 is a diagram for explaining data used in a learning model that determines whether the edges of the head are even according to an embodiment of the present invention. Specifically, Figure 5(a) is an example of image data that is determined to be a defective product because the edges of the head are uneven, and Figure 5(b) is a diagram to explain a method of determining this as a defective product.

영상 데이터는 머신 러닝 로직으로 학습되기 전 처리될 수 있다. 영상 데이터는 두부의 모퉁이(p1 내지 p4)를 기준으로 형성된 가상의 경계선(e1 내지 e4)과 두부의 모서리의 편차 데이터로 전 처리되고, 머신 러닝 로직은 전 처리된 데이터를 이용하여 학습 모델을 형성할 수 있다. Video data can be processed before being trained with machine learning logic. The image data is pre-processed with the deviation data of the edge of the head and the virtual boundary line (e1 to e4) formed based on the corner of the head (p1 to p4), and the machine learning logic uses the pre-processed data to form a learning model. can do.

구체적으로, 전 처리된 편차 데이터는 가상의 경계선과 상기 두부의 모서리가 이격되어 형성하는 면적, 이격된 방향 및 최대로 이격된 정도 중 적어도 하나를 포함하는 데이터 일 수 있다. 도 5(b)를 참고하면, 영역 A는 가상의 경계선을 상기 두부의 모서리가 넘어서 형성된 영역이고, 영역 B의 가상의 경계선과 상기 두부의 모서리가 이격되어 형성된 영역에 대응된다. 전 처리된 편차 데이터는 영역 A 및 B의 면적 데이터 각각을 구분한 데이터일 수 있다. 추가적으로, 전 처리된 편차 데이터는 가상의 경계선과 대응되는 두부의 모서리 간 최대로 이격된 길이를 포함하는 데이터 일 수 있다. Specifically, the pre-processed deviation data may be data including at least one of the area formed by the virtual boundary line and the edge of the head being spaced apart, the direction of the separation, and the maximum degree of separation. Referring to FIG. 5(b), area A is an area formed by the edge of the head crossing a virtual boundary line, and corresponds to an area formed by the virtual boundary line of area B being spaced apart from the corner of the head. The pre-processed deviation data may be data that separates the area data of regions A and B. Additionally, the pre-processed deviation data may be data containing the maximum distance between the virtual boundary line and the corresponding edge of the head.

상기 전 처리된 편차 데이터를 이용하여 학습된 학습 모듈은, 두부의 모서리가 가상의 경계선을 넘어서거나 미달하여 형성하는 면적이 기 설정 면적보다 넓은 경우 불량 두부로 판별할 수 있다. 또는, 가상의 경계선을 넘어서서 형성하는 면적과 미달하여 형성하는 면적의 차가 기 설정 차이 이상인 경우 불량 두부로 판별할 수 있다. 또는, 가상의 경계선과 대응되는 두부의 모서리간 최대로 이격된 길이가 기 설정 길이 이상인 경우 불량 두부로 판별할 수 있다. The learning module learned using the pre-processed deviation data can determine the head to be defective when the edge of the head exceeds or falls short of the virtual boundary and the area formed is larger than the preset area. Alternatively, if the difference between the area formed beyond the virtual boundary line and the area formed below the virtual boundary line is greater than a preset difference, it can be determined as defective tofu. Alternatively, if the maximum distance between the edges of the head corresponding to the virtual boundary line is greater than or equal to a preset length, the head can be determined to be defective.

도 6은 본 발명의 일 실시예에 따른 두부의 모서리가 고른 지 판별하는 학습 모델에 이용되는 데이터를 설명하기 위한 도면이다. 구체적으로 도 6(a)는 두부의 모서리가 고르지 않아 불량 제품으로 판별되는 영상 데이터의 실시예이고, 도 6(b)는 조명 방향이 상이한 복수의 광원부(L1 내지 L4)를 기 설정 순서로 on/off 하여 영상 데이터를 획득하는 실시예를 설명하기 위한 도면이다. Figure 6 is a diagram for explaining data used in a learning model that determines whether the edges of the head are even according to an embodiment of the present invention. Specifically, Figure 6(a) is an example of image data that is determined to be a defective product due to uneven edges of the head, and Figure 6(b) shows a plurality of light source units (L1 to L4) with different illumination directions turned on in a preset order. This is a diagram to explain an embodiment of acquiring image data by turning /off.

복수의 광원부(L1 내지 L4)는 검사대상제품에 상이한 각도로 광을 조사하도록 위치를 달리할 수 있다. 카메라는 복수의 광원부(L1 내지 L4)의 on/off를 달리하여 하나의 검사대상제품에 조명 방향을 상이하도록 복수의 영상 데이터를 획득할 수 있다. 이때, 복수의 광원부는 카메라의 셔터 스피드에 맞춰 순차적으로 on/off되고 카메라는 on된 광원부에 대응되는 영상 데이터를 각각 획득할 수 있다. The plurality of light source units (L1 to L4) may be positioned differently to irradiate light to the inspection target product at different angles. The camera can acquire a plurality of image data by turning on/off the plurality of light source units (L1 to L4) to provide different illumination directions to one inspection target product. At this time, the plurality of light source units are sequentially turned on/off according to the shutter speed of the camera, and the camera can respectively acquire image data corresponding to the light source unit that is turned on.

머신 러닝 로직은 조명 방향이 상이하도록 획득된 영상 데이터를 이용하여 학습 모델을 형성할 수 있다. 구체적으로, 학습 모델은 조명 각도를 달리 조사하여 획득한 영상데이터를 영상 데이터에 포함된 음영 영역의 크기, 위치 및 방향 중 적어도 하나를 나타낼 수 있도록 전 처리되고, 머신 러닝 로직은 전 처리된 음영 데이터를 이용하여 학습 모델을 형성할 수 있다. Machine learning logic can form a learning model using image data obtained with different lighting directions. Specifically, the learning model preprocesses image data obtained by examining different lighting angles to represent at least one of the size, location, and direction of the shaded area included in the image data, and the machine learning logic uses the preprocessed shaded data. You can form a learning model using .

상기 전 처리된 음영 데이터를 이용하여 학습된 학습 모듈은, 조명 방향을 달리하여 획득한 영상 데이터에 음영이 없는 경우 정상 제품으로 판단하고, 하나라도 음영이 기 설정 면적 이상으로 형성되는 경우 정상 제품으로 판단하거나, 전체 음영의 면적이 크더라도 음영이 분산된 경우 정상 제품으로 판단하거나, 음영이 내측 또는 외측 방향으로 길게 형성되는 경우 불량 제품으로 판단할 수 있다. The learning module learned using the pre-processed shading data determines that it is a normal product if there is no shading in the image data obtained by changing the lighting direction, and determines it to be a normal product if any shading is formed larger than the preset area. Or, if the shadow is dispersed even if the overall shadow area is large, it can be judged as a normal product, or if the shadow is long in the inner or outer direction, it can be judged as a defective product.

도 6(b)를 참조하면, A 영역에서 우그러진 두부 모서리 부는 L1 광원부 조사를 통해 음영을 보다 분명하고 진하게 표시하여, 이를 통해 획득한 영상데이터는 두부의 모서리가 우그러진 정도를 보다 잘 판별할 수 있다. Referring to Figure 6(b), the distorted corner of the head in area A displays the shade more clearly and darkly through irradiation from the L1 light source, and the image data obtained through this can better determine the degree to which the corner of the head is distorted. You can.

이때, 사용되는 복수의 광원부는 용기에 포함되어 있는 액체에 반사되지 않도록 편광된 광을 조사할 수 있다. At this time, the plurality of light source units used may irradiate polarized light so as not to be reflected by the liquid contained in the container.

도 7은 본 발명의 일 실시예에 따른 학습 모델을 이용한 품질관리 방법을 설명하기 위한 순서도이다. Figure 7 is a flowchart for explaining a quality control method using a learning model according to an embodiment of the present invention.

학습 모델을 이용한 품질관리 방법은 일면이 오픈 된 용기에 두부를 담아 이송하는 이송단계(710), 두부를 촬영하여 영상데이터를 획득하는 입력단계(720), 입력단계에서 획득한 영상데이터를 기준으로 두부가 정상 제품인지 불량 제품인지 판별하는 판별단계(730), 및 두부가 불량 제품임을 출력하는 출력단계(740)를 포함할 수 있다. 출력 단계(740) 이후에는 판별된 결과를 검증하는 검증 단계(750)를 포함할 수 있다. The quality control method using a learning model includes a transport step (710) of transporting tofu in a container with one side open, an input step (720) of acquiring image data by photographing the tofu, and based on the image data acquired in the input step. It may include a determination step 730 to determine whether the tofu is a normal product or a defective product, and an output step 740 to output that the tofu is a defective product. After the output step 740, a verification step 750 may be included to verify the determined result.

판별단계(730)는 머신 러닝을 로직으로 상기 영상 데이터를 학습하는 학습 단계(731), 학습 단계(731)를 통해 획득한 학습 모델을 통해 용기에 두부 외 이물질이 담겨 있는 경우를 불량 제품으로 판별하고, 상기 두부의 모서리부가 고르지 않거나 우그러진 경우를 불량 제품으로 판별하는 단계(732)를 포함할 수 있다. The determination step (730) is a learning step (731) that learns the image data using machine learning logic, and determines a case where foreign substances other than tofu are contained in the container as a defective product through the learning model acquired through the learning step (731). And, if the corner of the head is uneven or dented, it may include a step 732 of determining that it is a defective product.

학습 단계(731)는 두부 영상 데이터를 상기 두부의 모서리부가 고르지 않거나 우그러진 정도에 따라 5 클래스 이상으로 분류하는 단계, 분류된 복수의 클래스 중 상기 두부를 정상 제품 또는 비정상 제품으로 판별하기 불분명한 클래스를 제외하는 단계, 및 제외한 클래스의 영상 데이터 외 나머지 영상 데이터를 이용하여 학습하는 단계를 포함할 수 있다. 검증 단계(750)에서 결과가 만족스럽지 못한 경우 제외되는 영상 데이터를 수정하여 다시 학습 단계(761)를 거칠 수 있다. The learning step 731 is a step of classifying head image data into 5 or more classes according to the degree to which the corners of the head are uneven or distorted, and a class in which it is unclear to determine whether the head is a normal product or an abnormal product among the plurality of classified classes. It may include a step of excluding, and a step of learning using the remaining image data in addition to the image data of the excluded class. If the results in the verification step 750 are not satisfactory, the excluded image data can be modified and the learning step 761 can be performed again.

다른 실시예로, 학습 단계(731)는 두부의 영상 데이터에서 상기 두부의 모퉁이를 기준으로 경계면을 형성하는 단계, 형성된 경계면과 상기 두부의 모서리의 편차 데이터를 획득하는 단계, 및 획득한 편차 데이터를 이용하여 학습하는 단계를 포함할 수 있다. In another embodiment, the learning step 731 includes forming a boundary surface based on the corner of the head from image data of the head, obtaining deviation data between the formed boundary surface and the corner of the head, and obtaining the obtained deviation data. It may include a learning step.

다른 실시예로, 학습 단계(731)는 두부를 향해 제1 각도로 광을 조사하여 영상 데이터를 획득하는 제1 영상 데이터 획득 단계, 및 두부를 향해 제1 각도와 상이한 제2 각도로 광을 조사하여 영상 데이터를 획득하는 제2 영상 데이터 획득 단계를 포함할 수 있다. 추가적으로, 학습 단계(731)는 제1 영상 데이터 및 상기 제2 영상 데이터의 음영 영역을 분별하는 단계, 및 분별된 음영 영역 데이터를 이용하여 학습하는 단계를 포함할 수 있다. In another embodiment, the learning step 731 includes a first image data acquisition step of acquiring image data by irradiating light at a first angle toward the head, and irradiating light at a second angle different from the first angle toward the head. This may include a second image data acquisition step of acquiring image data. Additionally, the learning step 731 may include distinguishing shaded areas of the first image data and the second image data, and learning using the differentiated shaded area data.

이상에서 본 발명의 대표적인 실시예들을 상세하게 설명하였으나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 상술한 실시예에 대하여 본 발명의 범주에서 벗어나지 않는 한도 내에서 다양한 변형이 가능함을 이해할 것이다. 그러므로 본 발명의 권리범위는 설명된 실시예에 국한되어 정해져서는 안 되며, 후술하는 특허청구범위 뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Although representative embodiments of the present invention have been described in detail above, those skilled in the art will understand that various modifications can be made to the above-described embodiments without departing from the scope of the present invention. . Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined by the claims and equivalents of the claims as well as the claims described later.

100: 품질관리 시스템
110: 이송부
120: 입력부
130: 판별부
140: 출력부
100: Quality management system
110: transfer unit
120: input unit
130: Determination unit
140: output unit

Claims (13)

일면이 오픈된 용기에 담긴 두부를 이송하는 이송부;
상기 두부를 촬영하여 이에 대한 영상데이터를 획득하는 입력부;
상기 영상데이터를 기준으로 상기 두부가 정상 제품인지 불량 제품인지 판별하는 판별부; 및
상기 두부가 불량 제품임을 알리는 출력부;를 포함하고,
학습모델은
이물질 포함 여부에 따라 분류된 영상 데이터를 통해 학습된 제1 학습 모델과, 이물질이 포함되지 않고 상기 두부의 모서리부가 고르지 않거나 우그러진 정도에 따라 분류된 영상 데이터를 통해 학습된 제2 학습 모델을 포함하고,
상기 판별부는
머신 러닝을 로직으로 학습된 학습 모델을 통해, 상기 용기에 두부 외 이물질이 담겨 있는 경우를 불량 제품으로 판별하고, 상기 두부의 모서리부가 고르지 않거나 우그러진 경우를 불량 제품으로 판별하고,
상기 제2 학습모델은
상기 두부의 모서리부가 고르지 않거나 우그러진 정도에 따라 5개 클래스 이상으로 분류된 영상 데이터 중 정상 제품과 불량 제품으로 판별하기 불분명한 클래스의 데이터를 제외하고 학습된 모델이고,
상기 판별부는
상기 제1 학습 모델을 통해 이물질이 포함되었는지 판별하여 이물질이 포함된 경우 불량제품으로 판별하고, 이물질이 포함되지 않는 경우 제2 학습 모델로 두부의 모서리부가 고르지 않거나 우그러진 경우 불량제품으로 판별하는 것을 특징으로 하는, 학습 모델을 이용한 품질관리 시스템.
A transfer unit that transfers tofu contained in a container with one side open;
An input unit that photographs the head and obtains image data about it;
a determination unit that determines whether the tofu is a normal product or a defective product based on the image data; and
An output unit notifying that the tofu is a defective product,
The learning model is
It includes a first learning model learned through image data classified according to whether or not it contains foreign substances, and a second learning model learned through image data classified according to the degree to which the corner of the head is uneven or distorted and does not contain foreign substances. do,
The determination unit
Through a learning model learned using machine learning logic, if the container contains foreign substances other than tofu, it is determined as a defective product, and if the edge of the tofu is uneven or dented, it is determined as a defective product,
The second learning model is
Among the image data classified into five or more classes according to the degree to which the edges of the head are uneven or distorted, the model is learned by excluding data from classes that are unclear to distinguish between normal and defective products,
The determination unit
The first learning model is used to determine whether foreign substances are included, and if foreign substances are included, it is determined as a defective product. If the foreign substances are not included, the second learning model is used to determine whether the edge of the head is uneven or dented as a defective product. Characterized by a quality control system using a learning model.
삭제delete 삭제delete 제1항에 있어서,
상기 학습 모델은 상기 두부의 모퉁이를 기준으로 형성된 가상의 경계선과 상기 두부의 모서리의 편차 데이터를 통해 상기 두부의 모서리부가 고른 지 학습된 모델인 것을 특징으로 하는, 학습 모델을 이용한 품질관리 시스템.
According to paragraph 1,
The learning model is a model that learns whether the corners of the head are even through a virtual boundary formed based on the corners of the head and deviation data of the corners of the head.
제4항에 있어서,
상기 편차 데이터는 상기 가상의 경계선과 상기 두부의 모서리가 이격되어 형성하는 면적, 이격된 방향 및 최대로 이격된 정도 중 적어도 하나를 포함하는 것을 특징으로 하는, 학습 모델을 이용한 품질관리 시스템.
According to paragraph 4,
The deviation data is characterized in that it includes at least one of the area formed by the virtual boundary line and the edge of the head being spaced apart, the direction of the separation, and the maximum degree of separation.
제1항에 있어서,
상기 품질관리 시스템은
상기 두부를 향해 상이한 각도로 조명을 조사하는 복수의 광원부;를 더 포함하고,
상기 입력부는 상기 복수의 광원부의 on/off를 달리하여 복수의 영상 데이터를 획득하고,
상기 판별부는 조명 방향이 상이하게 획득된 복수의 영상데이터를 기준으로 상기 두부가 정상 제품인지 불량 제품인지 판별하는 것을 특징으로 하는 학습 모델을 이용한 품질관리 시스템.
According to paragraph 1,
The quality control system is
It further includes a plurality of light source units that irradiate light at different angles toward the head,
The input unit acquires a plurality of image data by turning on/off the plurality of light source units,
A quality control system using a learning model, wherein the determination unit determines whether the tofu is a normal product or a defective product based on a plurality of image data obtained with different illumination directions.
제6항에 있어서,
상기 학습 모델은 조명 각도를 달리 조사하여 획득한 영상데이터에 포함된 음영 영역의 크기, 위치 및 방향 중 적어도 하나를 통해 상기 두부의 모서리가 고른 지 학습된 모델인 것을 특징으로 하는, 학습 모델을 이용한 품질관리 시스템.
According to clause 6,
The learning model is a model that learns whether the edges of the head are even through at least one of the size, position, and direction of the shaded area included in the image data obtained by examining different lighting angles. Quality management system.
제6항에 있어서,
상기 복수의 광원부는 상기 용기에 포함되어 있는 액체에 반사하지 않도록 편광된 광을 조사하는 것을 특징으로 하는, 학습 모델을 이용한 품질관리 시스템.
According to clause 6,
A quality control system using a learning model, wherein the plurality of light sources irradiate polarized light so as not to reflect on the liquid contained in the container.
일면이 오픈 된 용기에 두부를 담아 이송하는 이송단계;
상기 두부를 촬영하여 영상데이터를 획득하는 입력단계;
상기 입력단계에서 획득한 영상데이터를 기준으로 상기 두부가 정상 제품인지 불량 제품인지 판별하는 판별단계; 및
상기 두부가 불량 제품임을 출력하는 출력단계;를 포함하고,
상기 판별단계는
머신 러닝을 로직으로 상기 영상 데이터를 학습하는 학습 단계;
상기 학습 단계를 통해 획득한 학습 모델을 통해, 상기 용기에 두부 외 이물질이 담겨 있는 경우를 불량 제품으로 판별하는 단계;
상기 용기에 두부 외 이물질이 담겨 있지 않는 경우, 상기 두부의 모서리부가 고르지 않거나 우그러진 경우를 불량 제품으로 판별하는 단계;를 포함하고,
상기 학습 단계는
상기 두부 영상 데이터를 상기 두부의 모서리부가 고르지 않거나 우그러진 정도에 따라 5 클래스 이상으로 분류하는 단계;
분류된 복수의 상기 클래스 중 상기 두부를 정상 제품 또는 비정상 제품으로 판별하기 불분명한 클래스를 제외하는 단계; 및
상기 제외한 클래스의 영상 데이터 외 나머지 영상 데이터를 이용하여 학습하는 단계;를 포함하는 것을 특징으로 하는, 학습 모델을 이용한 품질관리 방법.
A transfer step of transporting tofu in a container with one side open;
An input step of acquiring image data by photographing the head;
A determination step of determining whether the tofu is a normal product or a defective product based on the image data obtained in the input step; and
An output step of outputting that the tofu is a defective product,
The determination step is
A learning step of learning the image data using machine learning logic;
Using the learning model obtained through the learning step, determining that the container contains foreign substances other than tofu as a defective product;
If the container does not contain foreign substances other than tofu, determining that the edge of the tofu is uneven or dented as a defective product,
The learning step is
Classifying the head image data into five or more classes according to the degree to which corners of the head are uneven or distorted;
Excluding a class in which it is unclear to determine the tofu as a normal product or an abnormal product among the plurality of classified classes; and
A quality control method using a learning model, comprising: learning using the remaining image data in addition to the image data of the excluded classes.
삭제delete 제9항에 있어서,
상기 학습 단계는
상기 두부의 영상 데이터에서 상기 두부의 모퉁이를 기준으로 경계면을 형성하는 단계;
상기 형성된 경계면과 상기 두부의 모서리의 편차 데이터를 획득하는 단계; 및
상기 획득한 편차 데이터를 이용하여 학습하는 단계;를 포함하는 것을 특징으로 하는, 학습 모델을 이용한 품질관리 방법.
According to clause 9,
The learning step is
forming a boundary surface based on a corner of the head from the image data of the head;
Obtaining deviation data between the formed boundary surface and the edge of the head; and
A quality control method using a learning model, comprising: learning using the obtained deviation data.
제9항에 있어서,
상기 입력 단계는
상기 두부를 향해 제1 각도로 광을 조사하여 영상 데이터를 획득하는 제1 영상 데이터 획득 단계; 및
상기 두부를 향해 상기 제1 각도와 상이한 제2 각도로 광을 조사하여 영상 데이터를 획득하는 제2 영상 데이터 획득 단계;를 포함하는 것을 특징으로 하는, 학습 모델을 이용한 품질관리 방법.
According to clause 9,
The input step is
A first image data acquisition step of acquiring image data by irradiating light at a first angle toward the head; and
A quality control method using a learning model, comprising a second image data acquisition step of acquiring image data by irradiating light toward the head at a second angle different from the first angle.
제12항에 있어서,
상기 학습 단계는
상기 제1 영상 데이터 및 상기 제2 영상 데이터의 음영 영역을 분별하는 단계; 및
상기 분별된 음영 영역 데이터를 이용하여 학습하는 단계;를 포함하는 것을 특징으로 하는, 학습 모델을 이용한 품질관리 방법.

According to clause 12,
The learning step is
distinguishing shaded areas of the first image data and the second image data; and
A quality control method using a learning model, comprising: learning using the classified shaded area data.

KR1020220185446A 2022-12-27 2022-12-27 Quality control system and method using learning module KR102576213B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220185446A KR102576213B1 (en) 2022-12-27 2022-12-27 Quality control system and method using learning module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220185446A KR102576213B1 (en) 2022-12-27 2022-12-27 Quality control system and method using learning module

Publications (1)

Publication Number Publication Date
KR102576213B1 true KR102576213B1 (en) 2023-09-08

Family

ID=88018345

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220185446A KR102576213B1 (en) 2022-12-27 2022-12-27 Quality control system and method using learning module

Country Status (1)

Country Link
KR (1) KR102576213B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019174481A (en) * 2016-08-22 2019-10-10 キユーピー株式会社 Inspection device and learning method of identification means of the same
JP2019211288A (en) * 2018-06-01 2019-12-12 埼玉県 Food testing system and program
KR20210031569A (en) * 2019-09-11 2021-03-22 (주) 넥스트랩 Product quality management system and method
JP2021177754A (en) * 2020-04-30 2021-11-18 株式会社高井製作所 Tofu production system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019174481A (en) * 2016-08-22 2019-10-10 キユーピー株式会社 Inspection device and learning method of identification means of the same
JP2019211288A (en) * 2018-06-01 2019-12-12 埼玉県 Food testing system and program
KR20210031569A (en) * 2019-09-11 2021-03-22 (주) 넥스트랩 Product quality management system and method
JP2021177754A (en) * 2020-04-30 2021-11-18 株式会社高井製作所 Tofu production system

Similar Documents

Publication Publication Date Title
Arjenaki et al. Online tomato sorting based on shape, maturity, size, and surface defects using machine vision
US20210170452A1 (en) Process and system for in-line inspection of product stream for detection of foreign objects
US11120540B2 (en) Multi-view imaging system and methods for non-invasive inspection in food processing
Mohammadi Baneh et al. Mechatronic components in apple sorting machines with computer vision
US20160267647A1 (en) Information processing apparatus, information processing method, and storage medium
JP2008508513A (en) Apparatus and method for inspecting containers
CN101297192A (en) Method and device for directly monitoring object
JP2002513463A (en) System and method for detecting stress in a molded container
WO2017168469A1 (en) Visual inspection apparatus and visual inspection method
WO2006075164A1 (en) Sensing in meat products and the like
TWI698629B (en) Contact lens inspection in a plastic shell
US8988523B1 (en) Single-camera multi-mirror imaging method and apparatus for whole-surface inspection of rotating objects
EP3837533A1 (en) Multi-view imaging system and methods for non-invasive inspection in food processing
CN115191007A (en) Gesture recognition
Banus et al. A deep-learning based solution to automatically control closure and seal of pizza packages
KR102576213B1 (en) Quality control system and method using learning module
JP5773741B2 (en) Appearance inspection apparatus and appearance inspection method for transparent body bottle
CN117677986A (en) Capturing and inspecting an image of an ophthalmic lens
Laucka et al. Research of the defects in anesthetic masks
JP6186728B2 (en) Preform inspection method and preform inspection apparatus
CN110595959B (en) Massecuite particle size analysis system and analysis method
JP2022132878A (en) Egg inspection device and egg inspection method
JP7010467B2 (en) Inspection device for packed eggs
Yimyam et al. 3D reconstruction and feature extraction for agricultural produce grading
JP5959430B2 (en) Bottle cap appearance inspection device and appearance inspection method

Legal Events

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