I. Introduction
In recent years, water quality problems often lead to the death of a large number of mariculture fish. Therefore, how to effectively monitor the water quality to ensure the survival of mariculture fish has become a more and more important problem. The above problems can be solved as followed: some abnormal behavior of fish can be considered as an indirect indicator of water quality, Fish behavior is closely related to water quality [1], and changes in fish behavior are bound to result in changes in swimming speed. Therefore, speed can be measured to reflect changes in fish behavior and water quality.