Crop diseases present a major threat to agricultural output, disrupting both the quantity and quality of production. Disease diagnosis remains a challenge for farmers, primarily due to limited knowledge and the need for specialized agricultural engineering expertise. To solve these problems, a new technique named the Autoencoder Latent Space-Neural Network (ALS-NN) was introduced in this study. It combines the strengths of autoencoders and neural networks to find crop diseases. Data processing is the first step of the methodology, and then data compression into a latent space follows. This compressed data serves as the input for the neural network, facilitating efficient crop disease classification. This approach capitalizes on the autoencoder's capacity for dimensionality reduction, data compression, and encoding, which is particularly beneficial when handling high-dimensional data. The reduced data dimensionality enables the neural network to process the information more efficiently. The ALS-NN model, by compressing data, focuses on the crucial information for the classification process, thereby enhancing computational speed and reducing the number of trained parameters. This results in time efficiencies during disease detection operations, mitigating the detrimental effects of diseases on crop yields. The integration of autoencoders and neural networks forms a potent strategy for disease detection, leveraging the autoencoders' capabilities for dimensionality reduction, anomaly detection, and feature learning, coupled with the classification and generalization abilities of neural networks. This hybrid approach can potentially lead to more precise, efficient, and interpretable disease detection system. PlantVillage is used with 10 crop types. We used the first part of autoencoder (The encoder) to compress images into Latent space; for classification, the result is subsequently fed into a neural network. Our model (ALS-NN) achieved 90% for test accuracy and 90% for validation accuracy.