Juan Pablo Cabrera
All work

Ranching, open source

Cattle Segmentation

Computer-vision model that segments and identifies cattle in aerial imagery.

Status
Open source
Source
github.com/JP-coder2000/cattle-segmentation
Cattle Segmentation

What I built

  • Training pipeline from raw drone imagery to a fine-tuned segmentation model.
  • Data augmentation aware of aerial-specific issues (shadows, herd overlap, motion blur).
  • Inference notebook with per-frame metrics so the rancher can audit the count.

What I learned

  • In agricultural CV, the data pipeline is harder than the model. Models are mostly solved.
  • Domain experts spot mistakes the eval metric never will. Always show predictions to the rancher.
  • PyTorch is the right default. The ergonomics of writing custom loss functions justify the verbosity.

Stack

  • Python
  • PyTorch
  • OpenCV
  • NumPy
  • Albumentations
  • Jupyter

Have a similar process?

Tell me. There is almost always a way to make it run on its own.

Message me on WhatsApp442 679 7378