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

Citrus recognition method based on improved YOLOv4

A recognition method and technology for citrus, applied in the field of image recognition, can solve the problems of reducing recognition accuracy, losing details of citrus, and not getting it, and achieving the effect of overcoming large memory consumption, overcoming long recognition time, and improving training speed

Active Publication Date: 2020-09-25
GUANGXI NORMAL UNIV
View PDF9 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the existing citrus fruit identification method based on convolutional neural network, one shortcoming is that when identifying citrus fruit, it pays too much attention to the recognition accuracy of small targets, without considering the depth and detection speed of convolutional neural network; another deficiency is in optimizing When the network structure is used, the recognition accuracy is often reduced, and the recognition information for the specified target is lacking.
[0005] The main disadvantage of identifying citrus based on image calculation or region segmentation methods is the lack of recognition of smaller citrus in complex environments, which can only roughly segment the outline or characteristic description of citrus, and lose some details of citrus. to higher recognition accuracy

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
  • Citrus recognition method based on improved YOLOv4
  • Citrus recognition method based on improved YOLOv4
  • Citrus recognition method based on improved YOLOv4

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0057] A citrus recognition method based on improved YOLOv4, such as figure 1 As shown, including the following steps:

[0058] S1. Image acquisition: The user uses a digital camera or other image acquisition equipment to collect images of fruit-bearing citrus trees, and names the collected images according to the format of the Pascal VOC data set, and creates the names Annotations and ImageSets at the same time , The three folders of JPEGImages, you don't need to modify the file save path in the code a lot, which is convenient for subsequent network model training;

[0059] S2, image preprocessing:

[0060] S2-1. Image labeling: In the image collected in step S1, use the image labeling tool LabelImg to label the citrus in the image, mark the position and variety name of the citrus, and mark the extent to which each fruit is blocked by leaves or branches ; In this embodiment, two varieties of kumquat and Nanfeng mandarin are selected as examples;

[0061] (1) When box selecting kumq...

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 a citrus recognition method based on improved YOLOv4. According to the method, a YOLOv4 network model structure is improved, an up-sampling module and a detection feature map sensitive to a small target are added, and citruses with relatively small individuals can be better identified; sparse training, channel pruning and layer pruning are carried out on a network model obtained through training, the defects of large memory consumption, long recognition time and the like caused by module addition are overcome, clustering is carried out by using a Canopy algorithm and ak-means + + algorithm, and a user can obtain an anchor frame parameter value more suitable for a data set of the user. When citrus recognition is carried out, an improved YOLOv4 network structure is adopted to train a citrus data set, and the obtained model can recognize a target with a small individual more accurately; before a network model is trained, through combination of layer pruning and channel pruning, the depth and the width of the model are compressed, and the training speed is improved on the premise that the precision is not lost; citrus on trees in different periods is recognized, the recognition precision is high, the speed is high, and the requirement for real-time recognition can be met.

Description

Technical field [0001] The invention relates to the technical field of image recognition, in particular to a citrus recognition method based on improved YOLOv4. Background technique [0002] Citrus is currently the fruit with the largest cultivation area, the highest yield and the largest consumption in my country. For a long time, the production of citrus in my country has mainly relied on human labor. Therefore, the application and development of computer vision recognition systems have very important practical significance. In addition, in agricultural scientific research, many researchers use computer vision recognition technology to assist in fruit yield analysis, picking, and disease prevention and control. Among them, the computer vision recognition system is one of the key technologies that restrict the current mechanization of citrus production and the application of automation technology. Accurate and rapid identification of citrus under the natural environmental condi...

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/62G06N3/04G06N3/08
CPCG06N3/08G06N3/045G06F18/23213G06F18/24137
Inventor 陆声链陈文康李帼
Owner GUANGXI NORMAL UNIV
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