The invention discloses a method for calculating the wave load borne by a
pile based on
machine vision, and the method comprises the steps: collecting and obtaining a water surface
image sequence containing the
pile, carrying out the
image processing of the water surface
image sequence, obtaining a flow field image, carrying out the post-
processing of the flow field image, and obtaining an optimized flow field image, the flow field is comprehensively monitored through
machine vision, and accurate recognition of the flow field where the
pile is located is improved; calibration of a preset image scaling is carried out on the optimized flow field image, pixel coordinates in the optimized flow field image are converted into actual coordinates, pile periphery data under a corresponding flow field are obtained based on a particle image velocimetry (PIV)
algorithm, and a
velocity vector field of fluid particles can be obtained through the particle image velocimetry
algorithm (PIV); the flow velocity distribution, vortex and other fluid
mechanics parameters of the whole
water area are further deduced, pile periphery data under the corresponding flow field can be obtained, then the wave load borne by the pile is obtained based on the Morison equation, and the defect that according to an existing wave load method, due to the fact that the
working environment of
underwater ocean
engineering structures is complex and severe or the safety requirement is high, the wave load is poor is overcome. The problems of low wave load accuracy and high
investment cost are solved, and the accuracy and efficiency of the wave load borne by the pile are greatly improved.