Fruit image freshness attribute migration method based on adversarial network

A technology of attribute migration and freshness, applied in the field of computer vision, which can solve the problems of fuzzy attribute description and poor effect.

Pending Publication Date: 2020-12-11
BEIJING TECHNOLOGY AND BUSINESS UNIVERSITY
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Image style transfer is a method of extracting the features of two images and transferring the features of one image to another image. The features are fused and generated based on the style of the second image, with the first image as the original image. New image technology; but the freshness attribute is a kind of fuzzy attribute description, so the freshness attribute migration should be a mapping between image sets, rather than attribute migration between single samples, and the image style transfer technology is directly applied to fruit images The transfer effect of the freshness attribute is not good, and even generates "four different" fruit image results

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
  • Fruit image freshness attribute migration method based on adversarial network
  • Fruit image freshness attribute migration method based on adversarial network
  • Fruit image freshness attribute migration method based on adversarial network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be described in detail below in conjunction with the accompanying drawings and examples,

[0035] Step 1. Construct a training set;

[0036] The training set is a collection of marked fruit images, which can be crawled from the Internet with crawlers, downloaded from public image libraries, or prepared by yourself; in the end, normal fruit images need to be obtained and classified according to different degrees of freshness. Divided into four categories: surface fresh, surface dull color, surface wrinkled, surface partially rotted;

[0037] In the present embodiment, download and select high-quality fruit and the image of different freshness degree fruit from Imagenet website, utilize python crawler technology simultaneously, download the fruit image in different search engines;

[0038] Step 2, image file preprocessing;

[0039] Step 2.1, remove the wrong image file;

[0040] Use the method of program pre-reading to remove wrong images to ...

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 relates to a fruit image freshness attribute migration method based on an adversarial network, and belongs to the field of computer vision in the computer discipline. The method comprises the following implementation steps: constructing a training set, and dividing fruit images into four types according to different freshness degrees, including fresh surfaces, dark surface colors, wrinkled surfaces and partial rotted surfaces; preprocessing image files, including removing error files, removing repeated files, unifying file formats, unifying image sizes, numbering the image files,and grouping the image files according to appearances; constructing a generator network and a discriminator network of fruit images with different freshness, wherein the model prototypes of the generator network and the discriminator network are cyclic consistency generative adversarial networks; separately using the image training sets with different freshness types as a model input for trainingto obtain four different generator models; and taking the fruit image of which the freshness needs to be changed as the input of the model to generate a fruit image corresponding to the freshness.

Description

technical field [0001] The invention belongs to the field of computer vision under the computer discipline, and in particular relates to a freshness attribute migration method based on an adversarial network for unpaired fruit images. Background technique [0002] The freshness of fruit is one of the important bases for fruit pricing. The conventional evaluation of fruit freshness mainly relies on sensory recognition, but this kind of method requires a lot of manpower and material resources, and the evaluation standards are different; it can pass physical and chemical tests in the testing laboratory. Or non-destructive testing and other methods for accurate evaluation, but such methods require professional equipment and cannot be widely used. [0003] The development of computer vision technology enables computer vision technology to quickly classify and identify fruits. Using image processing technology based on computer vision to automatically identify and classify the fre...

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): G06K9/62G06F16/951G06N3/04G06T3/00
CPCG06F16/951G06N3/045G06F18/24G06F18/214G06T3/04
Inventor 陈红倩关孟茜陈雅丽
Owner BEIJING TECHNOLOGY AND BUSINESS UNIVERSITY
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