  Accurate characterization of agricultural sprays is crucial to predict in
field performance of liquid applied crop protection products. Here we introduce
a robust and efficient machine learning (ML) based Digital In-line Holography
(DIH) to accurately characterize the droplet field for a wide range of
agricultural spray nozzles. Compared to non-ML methods, our method enhances
accuracy, generalizability, and processing speed. Our approach employs two
neural networks: a modified U-Net to obtain the 3D droplet field from the
numerically reconstructed optical field, followed by a VGG16 classifier to
reduce false positives from the U-Net prediction. The modified U-Net is trained
using holograms generated using a single spray nozzle at three spray locations;
center, half-span, and the spray edge to create training data with various
number densities and droplet size ranges. VGG16 is trained via the minimum
intensity projection of the droplet 3D point spread function. Data augmentation
is used to increase the efficiency of classification and make the algorithm
generalizable for different measurement settings. The model is validated via
NIST traceable glass beads and six agricultural spray nozzles representing
various spray characteristics. The results demonstrate a high accuracy rate,
with over 90% droplet extraction and less than 5% false positives. Compared to
traditional spray measurement techniques, our method offers a significant leap
forward in spatial resolution and generalizability. In particular, our method
can extract the real cumulative volume distribution of the NIST beads, where
the laser diffraction is biased towards droplets moving at slower speeds.
Additionally, the ML-based DIH enables the estimation of mass and momentum flux
at different locations and the calculation of relative velocities of droplet
pairs, which are difficult to obtain via conventional techniques.
