Method Article

Real-Time Pond Water Assessment via Embedded Deep Learning and Visual Data Acquisition: A Practical Monitoring Approach for Aquaculture

DOI:

10.3791/69744

February 24th, 2026

In This Article

Summary

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

We describe a protocol for real-time water quality classification using underwater image acquisition, a Raspberry Pi-based controller network, and an Artificial Neural Network (ANN). The method details system setup, data collection, preprocessing, model training, and deployment. This water-quality assessment system is particularly suitable for Koi breeders, helping ensure optimal conditions for healthy fish.

Abstract

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Maintaining optimal water quality is essential in aquaculture, particularly for ornamental species such as Kois, where color clarity and environmental balance are directly linked to health and aesthetics. This article presents a complete protocol for designing, deploying, and operating a real-time water quality monitoring system based on underwater image classification using embedded deep learning. The proposed system integrates a low-cost underwater camera with a Raspberry Pi-based controller network in an autonomous water surface robot, enabling the capture, transmission, and classification of aquatic images through a lightweight neural network model. Five water condition categories -- ranging from clear to turbid -- are visually distinguished, with classification accuracy exceeding 99% on a custom dataset. The system is configured to run autonomously, offering continuous assessment and visual alerts for deteriorating conditions. This visual protocol covers device assembly, system calibration, model deployment, and real-time monitoring demonstrations. The method supports sustainable aquaculture practices by enabling non-invasive, continuous evaluation of aquatic environments using affordable, scalable technologies. The approach can be adapted to other aquaculture or environmental monitoring contexts with minimal modification.

Introduction

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Koi fish (Cyprinus carpio var. koi) are ornamental varieties of the common carp, prized for their vibrant colors, distinctive patterns, elegant body shape, and graceful swimming. Their beauty and fluid movements make them a favorite choice for garden ponds and decorative water features worldwide.

Maintaining good water quality in ponds not only supports aquatic life but also contributes to reducing carbon emissions, thereby benefiting the environment1,2. Maintaining water quality by following established standards for parameters such as pH, temperature, dissolved oxygen, sa....

Access restricted. Please log in or start a trial to view this content.

Protocol

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

NOTE: The source codes used in this study are available at the following GitHub repository: https://github.com/prawit-chu/Real-Time-Pond-Water-Assessment-via-Embedded-Deep-Learning-and-Visual-Data-Acquisition

1. Equipment Setup

  1. Set up the Raspberry Pi-based controller network (the robot and the action camera).
  2. Set up a server running the Ubuntu v24.04 LTS operating system.

2. Action Camera Setup

  1. Set up the default IP address (10.5.5.9) and network mask (255.0.0.0).
    NOTE: Table 1 shows the assigned IP addresses for con....

Access restricted. Please log in or start a trial to view this content.

Results

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The dataset was divided into independent training, validation, and test subsets. Model performance was monitored on the validation set during training, and the final evaluation was conducted using a held-out test dataset containing previously unseen images. Consistent performance across validation and test sets indicates stable generalization.

For real-time water quality classification, simplified CNN models and pre-trained networks (Inception V3, Xception, and ResNet50) were initially tested,.......

Access restricted. Please log in or start a trial to view this content.

Discussion

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

A critical step in this protocol is Raspberry Pi-based controller network setting. Incorrect settings result in failure to communicate between the server and the action camera. Before testing the provided programs, communication between the server and the action camera should be verified by PING command. While the proposed model operates in real time on embedded hardware, quantitative measurements of inference time and energy consumption were not evaluated and are beyond the scope of this study.

Access restricted. Please log in or start a trial to view this content.

Disclosures

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The authors have nothing to disclose.

Acknowledgements

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The authors would like to express their gratitude to Kasetsart University, Thailand, Vishwakarma University, India and Regent University, USA for their helpful comments, discussions, and insights which have greatly improved our research. We gratefully acknowledge the support provided by the Faculty of Engineering at Sriracha, Kasetsart University, through the Research Unit Fund (Grant No. KUSRCRU69-2001) for the 2026 fiscal year.

....

Access restricted. Please log in or start a trial to view this content.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
GoPro Hero 11 BlackGoProfor taking photos and record videos
GoPro Hero 12 BlackGoProfor taking photos and record videos
GoPro Hero 13 BlackGoProfor taking photos and record videos
Raspbery PIRaspberry PIZero 2WController
Wireless RouterZTEHG8045x5-12
Ethernet adaptorsTp-linkUE300
ServerDellT30
Battery Pack 12 VDC--Power Supply
DC pumpThai WaterAW500Srobot movement
5V step Down--Step down from 12V to 5V
8-channel Relay--Controlling pumps
GoPro Quick applicationGoProGoProfor testing GoPro Wi-Fi connection

References

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,
  1. Macedo, H. R., Junior, O. J. L., Werneck, P. R., Feiden, A. Carbon footprint and automation in aquaculture. Rev Gest Soc Ambient. 18 (11), 1-15 (2024).
  2. Girard, L., et al. The balance of carbon emissions versus burial in fish ponds: The role....

Access restricted. Please log in or start a trial to view this content.

Reprints and Permissions

Request permission to reuse the text or figures of this JoVE article

Request Permission

Tags

Pond Water AssessmentAquaculture MonitoringUnderwater Image ClassificationEmbedded Deep LearningWater Quality MonitoringRaspberry Pi ControllerAutonomous Water RobotVisual Data AcquisitionAquatic Environment EvaluationReal Time Monitoring
Video Coming Soon

Related Articles