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

Automatic fruit identification method based on attention YOLOv5 model

A technology of fruit recognition and attention, applied in character and pattern recognition, neural learning methods, biological neural network models, etc., can solve problems such as easy to ignore, do not consider the relationship, and inaccurate prediction results, so as to improve the accuracy rate, Increase the effect of important features

Pending Publication Date: 2022-05-13
NANTONG UNIVERSITY
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide an automatic fruit recognition method based on the attention YOLOv5 model, so as to solve the problem that the existing model tends to the global information of the object, and it is easy to ignore some key and important local information of the fruit and the coincidence of the existing target frame and the prediction frame The interrelationship between them is not taken into account, which is likely to lead to technical problems of inaccurate prediction 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
  • Automatic fruit identification method based on attention YOLOv5 model
  • Automatic fruit identification method based on attention YOLOv5 model
  • Automatic fruit identification method based on attention YOLOv5 model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to better understand the object, structure and function of the present invention, the following in conjunction with the accompanying drawings, the present invention is an automatic fruit identification method based on the attention YOLOv5 model to be further described in detail.

[0045] The present invention processes as Figure 1 shown, which includes the following steps:

[0046] Step 1: Pre-process the dataset;

[0047] Image stitching is performed using Mosaic data augmentation, a reference to the CutMix data augmentation idea. CutMix Data Enhancement stitches two images together, while Mosaic uses four images to increase the amount of data while enriching the background of the detected object.

[0048] In the YOLO series of algorithms, the initial length and width of the anchor box are usually set for different data sets. In YOLOv3 and YOLOv4, the initial anchor frame is obtained by a separate algorithm, and the k-means algorithm is commonly used. The present...

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 discloses an automatic fruit identification method based on an attention YOLOv5 model. The method comprises the following steps: 1, preprocessing an original image of a data set; 2, inputting a backbone network to extract features, and using an SENet attention module to obtain a one-dimensional vector corresponding to a channel as an evaluation score; 3, the evaluation scores act on corresponding channels of the feature map through multiplication operation, and effective features used for fruit recognition are obtained; 4, carrying out the fusion of the features through a Feature Pyramid Network structure and a Path Aggregation Network structure, and carrying out the fusion of the features through the Feature Pyramid Network structure and the Path Aggregation Network structure; and 5, predicting the image features, considering the relationship between the height-width ratio and the central point of the target frame and the prediction frame by using CIOU, improving the prediction precision, and respectively outputting identification results according to large, medium and small targets.

Description

Technical field [0001] The present invention belongs to the field of fruit recognition, in particular to an automatic fruit recognition method based on the attention YOLOv5 model. Background [0002] In daily life, supermarkets and wet markets need to be weighed and priced manually, which not only takes time to operate, the pricing process is too long, but also reduces the purchase efficiency of customers. Therefore, it is very necessary for supermarkets and wet markets to combine fruit weighing, automatically calculate the price of fruits, and improve the efficiency of customer purchases. [0003] At present, the mainstream method mainly has the following problems: 1, the model tends to the global information of the object, and it is easy to ignore some key and important fruit local information; 2, the target box and the prediction box coincide without considering the interrelationship between them, which can easily lead to inaccurate prediction results. Contents of the Invent...

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): G06V10/40G06V10/762G06V10/82G06K9/62G06T3/40G06N3/04G06N3/08
CPCG06T3/4038G06N3/08G06N3/048G06N3/045G06F18/23213
Inventor 邵叶秦曹秋阳李登亮宋锦伟高瞻施佺
Owner NANTONG UNIVERSITY
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