Silkworm cocoon picture classification method and system based on ResNet and attention mechanism
Патент · CN B
Полный текст
The application discloses a silkworm cocoon picture classification method and system based on ResNet and an attention mechanism, and relates to the field of silkworm cocoon classification. The method comprises the steps of collecting cocoon pictures, constructing a cocoon classification model based on ResNet residual networks and introducing a channel and space attention mechanism, and inputting the collected cocoon pictures into the cocoon classification model for characteristic recognition to obtain classification of cocoons. In the current machine vision recognition scheme, an image processing algorithm is applied in early stage, and cocoons with similar shapes are difficult to distinguish mainly based on differences of color and area characteristics. The method provided by the application extracts various characteristics such as the color, the shape, the area, the texture and the like of the cocoons, does not need to be manually participated, reduces subjectivity of human factors, classifies light cocoons and internally dyed cocoons, and improves the efficiency and the accuracy of cocoon classification.