HIGHLIGHTSA deep learning algorithm with an improved lightweight network was used to identify apple fruit.Multiscale pooling was used to reduce the image size and enrich the features.Compound scaling was used to scale the basic network.The optimal compound scaling coefficient for apple identification was obtained with the WOA algorithm.The proposed method achieved an average recognition precision rate of 94.43% and a speed of 0.051s.ABSTRACT. Accurate fruit identification is the basis for automating the operation of orchard production. To better apply the identification model in mobile devices so that venue becomes a less restrictive factor for application, this study proposes an apple fruit identification method based on an improved lightweight network named “MobileNetV3-Small.” The whale optimization algorithm was introduced to improve the model by obtaining an optimal compound-scaling coefficient for the MobileNetV3-Small network. A multiscale pooling approach was used for fruit recognition, comprising operations such as lossless scaling and feature extraction on sample images. The obtained images were then inputted into the model for recognition and classification. The experimental process was conducted on an apple data set. The test results show that the multiclass average precision of apple recognition using this model was 94.43% and the running time of recognition was 0.051 s per image. Both indicators outperformed the control network models of “MobileNetV3-Small,” ResNet-50, and VGG-19. This model is 14.63% more accurate and 1.95 times quicker on average in identification than the next best model. These findings indicate that the method can realize high-efficiency and high-precision recognition of apples with high stability and portability, which lays a good foundation for the mechanization of repetitive operations such as orchard yield estimation, fruit labeling, and fruit picking. Keywords: Apple recognition, Compound scaling, Deep learning algorithm, Lightweight network, Yield estimation.