The Country
  • The Country home
  • Latest news
  • Audio & podcasts
  • Opinion
  • Dairy farming
  • Sheep & beef farming
  • Rural business
  • Rural technology
  • Rural life
  • Listen on iHeart radio

Subscriptions

  • Herald Premium
  • Viva Premium
  • The Listener
  • BusinessDesk

Sections

  • Latest news
  • Coast & Country News
  • Opinion
  • Dairy farming
  • Sheep & beef farming
  • Horticulture
  • Animal health
  • Rural business
  • Rural technology
  • Rural life

Media

  • Podcasts
  • Video

Weather

  • Kaitaia
  • Whāngarei
  • Dargaville
  • Auckland
  • Thames
  • Tauranga
  • Hamilton
  • Whakatāne
  • Rotorua
  • Tokoroa
  • Te Kuiti
  • Taumurunui
  • Taupō
  • Gisborne
  • New Plymouth
  • Napier
  • Hastings
  • Dannevirke
  • Whanganui
  • Palmerston North
  • Levin
  • Paraparaumu
  • Masterton
  • Wellington
  • Motueka
  • Nelson
  • Blenheim
  • Westport
  • Reefton
  • Kaikōura
  • Greymouth
  • Hokitika
  • Christchurch
  • Ashburton
  • Timaru
  • Wānaka
  • Oamaru
  • Queenstown
  • Dunedin
  • Gore
  • Invercargill

NZME Network

  • Advertise with NZME
  • OneRoof
  • Driven Car Guide
  • BusinessDesk
  • Newstalk ZB
  • Sunlive
  • ZM
  • The Hits
  • Coast
  • Radio Hauraki
  • The Alternative Commentary Collective
  • Gold
  • Flava
  • iHeart Radio
  • Hokonui
  • Radio Wanaka
  • iHeartCountry New Zealand
  • Restaurant Hub
  • NZME Events

SubscribeSign In
Advertisement
Advertise with NZME.
Home / The Country

Future of farming: AI in the milking shed

By alex robertson
NZ Herald·
21 Jun, 2024 12:53 AM4 mins to read

Subscribe to listen

Access to Herald Premium articles require a Premium subscription. Subscribe now to listen.
Already a subscriber?  Sign in here

Listening to articles is free for open-access content—explore other articles or learn more about text-to-speech.
‌
Save

    Share this article

    Reminder, this is a Premium article and requires a subscription to read.

Waikato-based AgriAI has teamed up with GEA to produce an automated spray system to help prevent mastitis in dairy cows. Video / Mike Scott / GEA

Artificial intelligence is being touted as an answer to falling productivity in many industries, and agriculture is no exception.

Many applications of this groundbreaking technology might tackle complex problems around yields, managing inputs and even tackling emissions, but there is room for AI to help in the more mundane but important parts of farming.

Global farming technology company GEA collaborated with local start-up AgriAI to launch a new system called the walkover teat sprayer at Fieldays last week to combat the problem of mastitis in dairy herds.

Chris Scherman and Benedict Johnson (left), of AgriAI, and Ben Morris of GEA Farm Technologies NZ, at the launch of the walkover teat sprayer at Fieldays. Photo / Supplied
Chris Scherman and Benedict Johnson (left), of AgriAI, and Ben Morris of GEA Farm Technologies NZ, at the launch of the walkover teat sprayer at Fieldays. Photo / Supplied

“Mastitis costs our farmers a lot of money,” GEA Farm Technologies NZ product manager Ben Morris told the Herald at Mystery Creek.

Advertisement
Advertise with NZME.

“Cow’s milk actually goes down the drains. We want to improve outcomes for our farmers.”

The bacterial infection creates inflammation in the udder, reducing milk yield, and is contagious. For decades farmers have tackled the problem by manually spraying at milking time.

Despite efforts to contain the disease, it’s estimated mastitis translates to a loss of about $180 a cow a year.

The problem is costing the New Zealand dairy industry hundreds of millions of dollars a year.

Advertisement
Advertise with NZME.
Farmers spray at milking to control mastitis. Photo / John Stone
Farmers spray at milking to control mastitis. Photo / John Stone

Benedict Johnson and Chris Scherman, recent graduates from Waikato University, set up AgriAI to target mastitis.

“Cows might have 20 incidents of mastitis in a year,” Johnson said. “If we can improve that, then we can improve the overall profitability of the farm.”

Johnson grew up on his parents’ dairy farm on the Coromandel Peninsula, but was drawn to mechanical engineering and graduated from Waikato majoring in mechatronics and robotics.

At university he met Scherman who was studying electronic engineering, and the pair discovered a mutual interest in AI.

“We share an interest in machine learning and think it’s the way of the future,” Johnson said.

“We had an understanding of what else was out there on the market and going back to first principles we thought — how do we actually automate this procedure?

“The origin of the teat spray was an understanding of the limitations of other teat sprayers in the market, especially around coverage, usage and effectiveness of the teat spray.”

And that accuracy of application is affected by animal behaviour and accidental interference.

Advertisement
Advertise with NZME.

“Cows behave in some quite odd ways,” Morris said. “Sometimes they push each other through the race, sometimes they run quite fast. Because we’re monitoring in real time, we can really accurately apply the teat spray.”

The walkover teat spray automates the spraying process and gets more targeted coverage. Photo / John Stone
The walkover teat spray automates the spraying process and gets more targeted coverage. Photo / John Stone

The system uses a high-mounted camera that observes cattle movement in real time and uses that information to decide when to apply the spray.

“The camera above is to keep it clear of weather and other potential obstructions,” said Johnson.

“This is a crucial part of machine vision to keep the lens clear, so that you can detect the cow.

“We have a neural processing unit that takes the images from the camera and identifies whether it’s a cow or another thing, and then it will track the cow and then very accurately apply the spray.

“As the animal walks through, once the udder comes over the spray pad, we use the four nozzles to apply the spray. The camera can detect when there’s any dirt or mud on the nozzles and instruct the unit to self-clean — the system is intelligent enough to be self-cleaning should manure get on to the spray nozzles.”

Johnson said with the various levels of automation on farms, he believes the walkover sprayer easily fits with the simple farming systems in New Zealand.

“It’s a tack-on piece of equipment that fits with our customer base,” he said.

Morris said the device automated the process without compromising the health of the animal — and the farmer got a good productivity gain.

“I think they’re looking for productivity gains on farms,” said Morris. “Labour is becoming harder and harder to find [and] I think we’re solving some problems for them [farmers].”

And, although he’s tight-lipped on what’s next for AgriAI, Johnson believes machine learning and AI will be “massive” for agriculture.

“There’s definitely some machine-learning technologies that we can use this real-time practice for,” he said.

“I’ve been working on this for about two years now and in partnership [with GEA] for about a year. The difficult parts are around making the real-time machine vision cheap and reliable and all the software in behind that. It’s been a huge task to get that together.

“You see the environment with your eyes, so we’re giving machines that same capability and in agriculture it will really benefit farmers.”

Save

    Share this article

    Reminder, this is a Premium article and requires a subscription to read.

Latest from The Country

The Country

Get in behind: Charity dog trials to raise funds for new chopper

23 Jun 06:00 AM
Premium
The Country

On The Up: A royal new venture with King Bees Honey

22 Jun 05:00 PM
The Country

Vege tips: Winter, time for onions and strawberries

21 Jun 05:00 PM

Kaibosh gets a clean-energy boost in the fight against food waste

sponsored
Advertisement
Advertise with NZME.

Latest from The Country

 Get in behind: Charity dog trials to raise funds for new chopper

Get in behind: Charity dog trials to raise funds for new chopper

23 Jun 06:00 AM

Last year's winner, Murray Child, will judge this year's competition.

Premium
On The Up: A royal new venture with King Bees Honey

On The Up: A royal new venture with King Bees Honey

22 Jun 05:00 PM
Vege tips: Winter, time for onions and strawberries

Vege tips: Winter, time for onions and strawberries

21 Jun 05:00 PM
The ABCs of wool in 1934

The ABCs of wool in 1934

21 Jun 05:00 PM
Engage and explore one of the most remote places on Earth in comfort and style
sponsored

Engage and explore one of the most remote places on Earth in comfort and style

NZ Herald
  • About NZ Herald
  • Meet the journalists
  • Newsletters
  • Classifieds
  • Help & support
  • Contact us
  • House rules
  • Privacy Policy
  • Terms of use
  • Competition terms & conditions
  • Our use of AI
Subscriber Services
  • NZ Herald e-editions
  • Daily puzzles & quizzes
  • Manage your digital subscription
  • Manage your print subscription
  • Subscribe to the NZ Herald newspaper
  • Subscribe to Herald Premium
  • Gift a subscription
  • Subscriber FAQs
  • Subscription terms & conditions
  • Promotions and subscriber benefits
NZME Network
  • The New Zealand Herald
  • The Northland Age
  • The Northern Advocate
  • Waikato Herald
  • Bay of Plenty Times
  • Rotorua Daily Post
  • Hawke's Bay Today
  • Whanganui Chronicle
  • Viva
  • NZ Listener
  • Newstalk ZB
  • BusinessDesk
  • OneRoof
  • Driven Car Guide
  • iHeart Radio
  • Restaurant Hub
NZME
  • About NZME
  • NZME careers
  • Advertise with NZME
  • Digital self-service advertising
  • Book your classified ad
  • Photo sales
  • NZME Events
  • © Copyright 2025 NZME Publishing Limited
TOP