The application discloses a fish
population counting method, device, equipment and medium, comprising: recognizing an
image frame sequence preprocessed according to motion and environment data to obtain object and state information, assigning an identifier to the object in the first frame and writing the identifier into a presequence frame set, obtaining a first object and a second object according to the state information of the object in the presequence frame set and a target frame, the first object inheriting the identifier, the second object being reassigned the identifier, writing the target frame into the presequence frame set, taking an
image frame adjacent to the target frame as a new target frame, returning to obtain the state information of the object in the presequence frame set and the target frame until all the image frames are traversed, verifying the object corresponding to the identifier according to the
motion direction of the object in the recording frame corresponding to the identifier, and obtaining the number of fish populations according to the
verification result of the fish. The application can be applied to the field of fish
population monitoring, the accuracy of fish
population counting is improved by fusing environment and device data and introducing
motion direction consistency
verification.