In order to improve the accuracy of rice pest image classification, a rice pest image classification method based on artificial intelligence is proposed in this paper. Firstly, open cv method is used to complete image data segmentation and feature extraction. Then, several different convolution neural network classification models are constructed, and the optimal model is selected to classify rice pest images. The results show that the classification method has high accuracy and effectively improves the reliability of classification results.