Work

Convolutional Neural Network-Based Architecture for Biomass Estimation with Mobile Application Integration

Year: 2026
Type: dissertation
Abstract: The purpose of this thesis is to evaluate a convolutional neural network (CNN)- based machine learning model for estimating biomass from images and to integrate the solution into a mobile application via an API-based cloud interface. Nowadays, precise biomass estimation is especially crucial for implementing precision farming techniques, boosting productivity, and assisting in decision-making. This research was carried out for the HAMK Tech Research Unit. Research questions include training four machine learning models to compare their accuracy and response time under the same condition, evaluating the impact of data augmentation techniques on model accuracy, and evaluating the effects of cloud-based inference in the context of mobile applications. This study was conducted with an experimental and application-oriented approach. Four convolutional neural network architectures, including DenseNet, InceptionResNet, ConvNeXtXLarge, and MobileNetV3-Large, were trained and evaluated with the same input condition. Then, two ensemble models were designed using the three best architectures to investigate the effect of combining predictions on regression performance. The models were compared based on standard regression metrics, accuracy, and inference latency. To measure the stability of the models, realistic data augmentation methods such as random horizontal flipping and light changes were used. Finally, the selected model was implemented with FastAPI and deployed to a secure cloud environment to enable integration with a mobile application prototype built with Flutter and Dart. Based on the experiments, DenseNet121 was chosen as the best model, since it provides the highest prediction accuracy among all single models with the lowest inference latency at 19.30ms. The MobileNetV3-Light model produced a negative R² value, making it the worst-performing model, and was therefore not considered for deployment. Ensemble models did increase prediction accuracy slightly, but at the cost of added latency over 100ms, too much to allow for a mobile app to feel responsive. Unexpectedly, having no augmentation performed gave slightly better accuracy for most models. This could be because the GrassClover data set already has enough variance naturally and the augmentation provided added noise due to its small size. Lastly, deploying the inference as a REST API proved to be a successful lightweight option for research project purposes. Integrating the Flutter mobile app's frontend with FastAPI was a relatively straightforward process, and utilizing Hugging Face Spaces for cloud hosting provided free computational resources for the entire project. Nevertheless, privacy concerns emerged, primarily due to the lack of authentication protocols on this publicly accessible API endpoint, which was further exacerbated by the transmission of user-uploaded images to an external server.
Language: English
Subfield: Plant Science
Open Access status: green
OpenAlex ID: W7159559643
Cites: 24
Cited by:
Related to: 10