Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A vegetable identification method and device

A vegetable, gradient descent algorithm technology, applied in the field of image recognition, can solve the problems of labor-intensive, low recognition efficiency, low efficiency, etc., to achieve the effect of improving efficiency

Inactive Publication Date: 2019-01-11
FUJIAN UNIV OF TECH
View PDF7 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, in the identification of vegetables in supermarkets and farmers’ markets, most of the classification work must be done manually, relying on human eyes to identify vegetables. In the past three years, my country’s market supervision departments have tried to implement traceability scales at agricultural product sales points. During the sales process , the vendor enters the PLU code of the product, and will print out a small ticket with information such as "traceability code" and send the information to the upstream server for management and traceability. However, the implementation effect is not obvious. Compared with ordinary scales, Traceable scales require vendors to manually enter the PLU code according to the products they sell, which is cumbersome and inefficient. In this way, not only a lot of labor is consumed, but also the work efficiency is low, which seriously affects the development speed of vegetable commercialization
[0003] The existing Chinese patent (application number: 201510004587.8) discloses an integrated scale based on the recognition of fruits and vegetables, which mainly uses the NCC template matching algorithm for image recognition, focusing on category recognition and fruit and vegetable traceability. The main problem with the template matching algorithm is the requirement The template can be as similar as possible to the image to be recognized, but the vegetable packaging is updated quickly, so the template image also needs to be updated continuously to improve the accuracy, and this algorithm has the problem of being unable to recognize vegetable images with complex backgrounds
[0004] The existing Chinese patent (application number: 201711133538.X) discloses an image recognition method and a traceable scale terminal. It mainly uses the deep residual neural network algorithm to identify the vegetable category on the initial image after image enhancement. Network "residual learning" principle, but this algorithm is relatively complicated, mainly reflected in the subclass recognition of the initial image, which needs to be identified first, and then continue to identify, so there is a problem of low recognition efficiency

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
  • A vegetable identification method and device
  • A vegetable identification method and device
  • A vegetable identification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] Please refer to figure 1 , a method for vegetable identification, comprising steps:

[0085] S1. Establish the first convolutional neural network model;

[0086] S2. Collect images of each type of vegetable in different scenarios, and construct corresponding input data sets;

[0087] S3. Perform iterative training on the first convolutional neural network model according to the gradient descent algorithm adaptively updated with the learning rate and the input data set to obtain a second convolutional neural network model. According to the second convolutional neural network Model for vegetable identification;

[0088] In step S3, the gradient descent algorithm adaptively updated according to the learning rate and the input data set are used for iterative training of the first convolutional neural network model, and the second convolutional neural network model is specifically:

[0089] Calculate the value of the loss function of the input data set at the kth iterativ...

Embodiment 2

[0111] This embodiment will further illustrate how the above-mentioned vegetable identification method of the present invention is realized in combination with specific application scenarios:

[0112] 1. Establish the AlexNet model of the convolutional neural network;

[0113] Convolutional neural network models have a variety of models, such as GoogLeNet, ResNet and VGGNet. Compared with other models, the AlexNet model is more mature in theory and has a high recognition rate. The basic composition of the AlexNet model is: 5 convolutional layers, 3 fully connected layers and 1 softmax layer. Among the 5 convolutional layers, the first two convolutional layers and the fifth convolutional layer have pooling layers, and the other two convolutional layers have no pooling layers. In each volume The product layer contains the activation function RELU and local corresponding normalization (LRN) processing, and then undergoes downsampling (pool processing);

[0114] The convolutional...

Embodiment 3

[0146] Please refer to figure 2, a device 1 for vegetable identification, comprising a memory 2, a processor 3 and a computer program stored in the memory 2 and operable on the processor 3, the processor 3 implements the first embodiment when executing the computer program each step.

[0147] In summary, the method and device for vegetable recognition provided by the present invention, by establishing the first convolutional neural network model, and collecting images of each type of vegetable in different scenarios, and constructing corresponding input data sets, according to learning The gradient descent algorithm of rate adaptive update and the input data set iteratively train the first convolutional neural network model to obtain a second convolutional neural network model, and carry out vegetable identification according to the second convolutional neural network model , which improves the efficiency of vegetable recognition, and trains the first convolutional neural ne...

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 provides a vegetable identification method and device. The method includes the steps of establishing the first convolution neural network model, collecting the images of each vegetable in different scenes, building the corresponding input dataset, iteratively training the first convolution neural network model according to a learning rate adaptively updated gradient descent algorithmand the input data set, obtaining the second convolution neural network model, carrying out the vegetable recognition according to the second convolution neural network model, and improving the efficiency of the vegetable recognition is improved. The first convolution neural network model is trained by a stochastic gradient descent algorithm, so that the second convolution neural network model obtained by the training can accurately identify the vegetable species under the complex background.

Description

technical field [0001] The invention relates to the technical field of image recognition, in particular to a vegetable recognition method and device. Background technique [0002] Against the backdrop of economic globalization, agricultural product markets are gradually opening up around the world, and product types and transaction volumes have surged, triggering a historic change in the sales terminals of agricultural products. At present, in the identification of vegetables in supermarkets and farmers’ markets, most of the classification work must be done manually, relying on human eyes to identify vegetables. In the past three years, my country’s market supervision departments have tried to implement traceability scales at agricultural product sales points. During the sales process , the vendor enters the PLU code of the product, and will print out a small ticket with information such as "traceability code" and send the information to the upstream server for management and...

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/00G06N3/04
CPCG06V20/00G06V20/68G06N3/045
Inventor 张平均刘洋
Owner FUJIAN UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products