Leaf blight, caused by bacterial and fungal infections, threatens plant health by inducing leaf discoloration and reducing crop yield. To address this, we propose a MobileNetV3-based classifier for the Jasmine plant, leveraging streamlined Convolutional Neural Networks (CNNs) to precisely identify disease stages. The design combines depthwise convolutional layers with max-pooling layers to extract superior features, focusing on vital low-level features that signal the condition. Via preprocessing methods that include data augmentation with a Conditional GAN and Particle Swarm Optimization for feature selection, the classifier achieves reliable performance. Assessment on carefully assembled datasets shows a remarkable 97% training accuracy, demonstrating its potency. Real-world trials across varying settings, including severe camera tilts and fluctuating illumination, verify the model’s durability, delivering test accuracies within the 94% to 96% range. The dataset’s bespoke structure for CNN-based classification ensures the reliability of the outcomes. Notably, the model’s compact classification, characterized by swift processing speed and minimal size, makes it a practical choice for immediate deployment. This all-encompassing strategy highlights the presented classifier’s value in managing leaf blight spot disease difficulties in cash crops.
Obtaining body mass in large-scale rearing and production environments is difficult, making non-contact assessment methods indispensable. This paper introduces an original pipeline for predicting pig body mass based on an adapted mask region convolutional neural network (mask R-CNN). The adaptation deploys ResNeSt as the backbone feature-extraction architecture, aiming to bolster the capacity to derive features from imagery. A feature pyramid network (FPN) was appended to this backbone to enable feature merging across multiple scales. Within the region proposal network (RPN), a channel attention mechanism (CAM) was installed alongside a spatial attention mechanism (SAM), enabling the dynamic combination of localized characteristics with their long-range interdependencies. This configuration captures holistic contextual knowledge, ultimately improving segmentation fidelity. The adapted architecture achieved precision (P) of 90.33%, recall (R) of 89.85%, and mean average precision (MAP) of 95.21%, thereby isolating pig areas in images with notable effectiveness. Five descriptive features drawn from the imagery were examined: back area, body length, body width, average depth, and eccentricity. Leveraging the pig depth images, five regression learning algorithms—ordinary least squares (OLS), AdaBoost, CatBoost, XGBoost, and random forest (RF)—were trained to forecast mass values. AdaBoost delivered the strongest predictive performance, evidenced by a coefficient of determination (R2) of 0.987, a mean absolute error (MAE) of 2.96 kg, a mean square error (MSE) of 12.87 kg², and a mean absolute percentage error (MAPE) of 8.45%. The experimental results confirm that machine learning models can reliably predict pig mass, providing a technical foundation for the informed management of pig production facilities.
The Nong Han Chaloem Phrakiat Lotus Park functions as a visitor destination and an educational hub centered on lotus plants. Nevertheless, its role as a training ground suffers from a lack of engagement and learning drive, a consequence of the outdated way lotus plant data is displayed. This investigation deployed the smart learning paradigm in the locale to amplify curiosity and motivation for education. To build a mobile application capable of displaying details for each type, convolutional neural networks (CNNs) were used to categorize lotus plant species. The boundaries of the work were defined by sorting 11 lotus plant species using a bespoke CNN model that relied on distinct methods (augmentation, dropout, and L2) and hyperparameters (dropout and the number of epochs). The goal was to secure a high-efficacy CNN model with a lower total parameter count than using three separate pre-trained CNN models (Inception V3, VGG16, and VGG19) as reference points. Model effectiveness was measured using accuracy, F1-score, precision, and recall. The outcomes showed that the CNN model integrating augmentation, dropout, and L2 regularization at a dropout rate of 0.4 and an epoch count of 30 achieved the highest test accuracy of 0.9954. The proposed superior model proved more precise than the pre-trained CNN benchmarks, with a pronounced improvement over Inception V3. In addition, the overall parameter count was cut down by a factor of about 1.80–2.19. These revelations showed that the proposed model, with its modest parameter count, achieved an acceptable level of classification precision.