This invention discloses a method for large-scale online detection and counting of
orchard fruits using drones. It utilizes drones to collect video footage of orchards; establishes a
drone live-streaming platform for online, real-time
video transmission; builds a fruit detection model to perform real-time detection of the
drone video footage, obtaining the center point and detection frame position information of each fruit; employs the DeepSORT
algorithm to assign a specific ID to each fruit in the
drone video footage and tracks them across frames; and constructs a fruit counter to achieve global calculation of the
orchard fruit count. This invention overcomes the limitation that drones can only perform offline operations in
orchard scenarios, and simultaneously solves the problems of missing small-sized fruits and severely occluded fruits within the drone's
field of view, providing farmers with effective information for subsequent decision-making in a short period of time.