With the rapid development of artificial intelligence technology,especially the application of deep learning,the field of insect recognition has transformed from traditional methods to automated and intelligent methods.This paper introduces an insect recognition system that combines Vision Transformer(ViT)and Random Forest(RF)to improve the accuracy and efficiency of recognition.Through this innovative hybrid approach,we are able to more effectively process large-scale insect image datasets and achieve efficient insect recognition.