Food packaging defect sample generation method based on custom algorithm

A food packaging and self-defined technology, which is applied in computing, image analysis, image enhancement, etc., can solve problems such as urgent demand, new product impact, and inability to collect large image data, so as to improve detection performance, increase the degree of realism, and ensure Effects of Authenticity and Validity

Pending Publication Date: 2022-07-29
东北大学秦皇岛分校
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] For a new product, because the image data of its surface defects cannot be collected in a short period of time, the algorithm cannot adapt to the new product well, thus affecting the detection performance of the algorithm
[0007] In the fields of metal, wood, and hard plastic boards, a large number of defect generation algorithms have been produced and achieved good results and excellent practical application performance. However, the texture of plastic packaged food is complex and changeable, and it is not a simple straight line fitting. There is no research on the generation of texture defects in plastic-packaged foods, and the related needs are urgent

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Food packaging defect sample generation method based on custom algorithm
  • Food packaging defect sample generation method based on custom algorithm
  • Food packaging defect sample generation method based on custom algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] The present invention will be further described below in conjunction with the accompanying drawings and embodiments;

[0065] A method for generating defective samples of food packaging based on a custom algorithm, which specifically includes the following steps:

[0066] Step 1: Collect a sample data set of food packaging defect images; perform denoising processing on the collected data set through morphological opening operation; because the texture of food packaging defect image samples is relatively complex, and the background texture interferes greatly with the texture detection of defects, so it is necessary to Morphological processing of the image.

[0067] By performing least squares fitting on the pixel gray value distribution curve of the image of food packaging defect samples, the pixels corresponding to the two peaks of the distribution curve are used as the edge of the interval, so that the discrete values ​​form a smooth curve; the local minimum value in t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention belongs to the technical field of machine vision detection, and designs a method for generating a food package flaw sample based on a custom algorithm, which is used for detecting flaws existing in a plastic package. Firstly, a food package defect image sample data set is collected; sampling the gray scale and curvature of textures of all flaw image samples; the method comprises the following steps of: randomly generating curves according to sampling data, randomly generating the number and postures of the curves, and drawing flaws on a background image to generate an image with flaws on the surface; when real defect data is lacked, a large number of surface flaw defect images are randomly synthesized by simulating the characteristics of the surface flaw defects, and the blank of insufficient real surface flaw defect image data is filled up, so that a related flaw defect detection algorithm is assisted to improve the detection performance.

Description

technical field [0001] The invention belongs to the technical field of machine vision detection, and in particular relates to a method for generating defective samples of food packaging based on a custom algorithm. Background technique [0002] In the processing and production of instant food products, when plastic sealing of food, due to factors such as water vapor, air, food soup and other factors generated by high temperature during plastic sealing, food packaging bags are often unqualified for plastic sealing. Food packaging bags are easily contaminated by harmful bacteria, viruses, fungi and parasites in the air. Eating contaminated food may pose a hazard to the personal safety of consumers. [0003] The existence of food safety problems seriously endangers the personal health and legitimate rights and interests of consumers, and also causes heavy losses to the reputation and reputation of food processing and sales companies. At present, the detection method of food p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T7/00G06T7/13G06T5/00
CPCG06T7/0004G06T5/002G06T7/13G06T2207/10004G06T2207/30128
Inventor 杨乐于海峰杨劭璠解永畅王正松
Owner 东北大学秦皇岛分校
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products