Cocoons counting and classification based on image processing









Abstract

For the count of cocoons, the image is segmented by kmeans method in the first place, then the distance transformation method is adopted to obtain the distance gray image, and the cocoons that are adhered to each other are separated by morphological operation to obtain the image of unconjugated cocoon. Finally, the cocoon counting is realized by traversing the connected domain. For cocoon classification, a fine tuned AlexNet neural network is used to classify cocoons, and batch normalization is used to replace local response normalization in conv1 and conv2.The data in the network is normalized to a normal distribution with variance of 1. This method can not only accelerate the training speed of the network, but also slow down the gradient disappearance problem in the training process, and improve the generalization ability of the network. Finally, higher recognition accuracy rate is obtained than the AlexNet network without improvement.


Modules


Algorithms


Software And Hardware

• Hardware: Processor: i3 ,i5 RAM: 4GB Hard disk: 16 GB • Software: operating System : Windws2000/XP/7/8/10 Anaconda,jupyter,spyder,flask Frontend :-python Backend:- MYSQL