This is just a documented test of the pretrained model from HerbiEstim using photos of seedling leaves from Ecuador. We would need to perform some preprocessing steps on our dataset before running this more systematically. One example is shown below.
The background is whiter creating more contrast.
Here you can see that the 1 cm square has been interpreted as leaf damage.
The model performs best on:
- Flat leaves photographed with a neutral or white background
- Uniform lighting without shadows
- A clear scale reference placed outside the leaf area
- No overlapping leaves or complex background textures
Before running this model at scale, we will need to:
- Remove or crop out scale markers (the model currently misinterprets them as herbivory).
- Standardize background and leaf contrast.
- Ensure leaves are isolated in each image and consistently oriented.
- Convert all files to a single image format and resolution.
In preliminary tests, non-leaf objects (e.g., calibration squares) are sometimes classified as missing leaf tissue. This indicates that automated cropping/masking will be required for reliable herbivory estimation.

