
Three to four days is how long lab analysis of a dropping sample can take in Tanzania before a poultry farmer learns whether the flock carries Newcastle disease, coccidiosis or salmonella, according to a 2023 report from Dagstuhl Seminar 22382. A phone camera running a trained model can flag an unhealthy dropping on the farm the same morning. Used well, the phone is a triage tool that wins back those days for isolation and sampling, while the lab and the vet still name the disease and set the treatment.
Key Takeaways
- In Tanzania, identifying Newcastle disease, coccidiosis or salmonella has required lab analysis of droppings that can take three to four days, and the Dagstuhl report says farmers often lose the entire flock by the time disease is confirmed.
- The Tanzanian models, published in 2022 by Dina Machuve and colleagues, learned from 1,255 laboratory-labeled fecal images annotated with PCR-tested samples, plus 6,812 farm-labeled photos. The lab sits upstream of the app.
- The best lightweight model, MobileNetV2, scored 98.02% test accuracy on farm-labeled Tanzanian images. That figure comes from Arusha and Kilimanjaro farms, and we found no equivalent figure for Ugandan or Ethiopian flocks.
- A phone flag is a reason to isolate a house and send a sample today. Treatment, culling and vaccination decisions stay with a vet working from a lab result.
- The Flock Triage Ladder has four rungs: Look, Separate, Sample, Name. The phone works on the first rung and gets the sample to the lab sooner.
What the Tanzanian study built
The Dagstuhl report, written by Philipp Berens, Kyle Cranmer, Neil D. Lawrence, Ulrike von Luxburg and Jessica Montgomery after a September 2022 seminar on machine learning for science, puts the scale at 4.6 million households raising approximately 36 million chickens. The report leaves that count undated, so treat it as an order of magnitude for the country.
The poultry section draws on a talk by the researcher Dina Machuve. The underlying paper, “Poultry diseases diagnostics models using deep learning” by Dina Machuve, Ezinne Nwankwo, Neema Mduma and Jimmy Mbelwa, appeared in Frontiers in Artificial Intelligence in July 2022. It names three common diseases that curtail production when they are caught late and traces the late detection to farmers’ limited access to agricultural support services. The team built deep convolutional neural networks that classify photographs of chicken droppings, framed in the paper as healthy against unhealthy.
The training data came in two layers. First, 1,255 laboratory-labeled fecal images, annotated using fecal samples that had gone through Polymerase Chain Reaction (PCR) diagnostics. Second, 6,812 fecal photos taken with the Open Data Kit app and annotated by agricultural support experts. The team tested on farm-labeled images. After fine-tuning, MobileNetV2 reached 98.02% test accuracy and Xception 98.24%, and the authors recommend MobileNetV2 for farm-level deployment because it is lighter and generalized better.
So the model’s idea of an unhealthy dropping came from people who had already judged each sample. The phone carries that judgment to the farm gate.
A second paper, published on ScienceDirect as “Smartphone based detection and classification of poultry diseases from chicken fecal images using deep learning techniques”, pushes toward classifying the diseases themselves from a phone. It describes a prior study as limited to detecting abnormality in the dropping image. A healthy-or-unhealthy flag is a triage signal: it tells you to act now and leaves the question of which disease to people with a laboratory.
What the dataset contains
The open dataset behind this work sits on Zenodo. The images were taken in Arusha and Kilimanjaro regions between September 2020 and February 2021, using the Open Data Kit app on mobile phones. Of 6,812 labeled images, 2,057 are healthy, 2,103 coccidiosis, 2,276 salmonella and 376 Newcastle disease.
Two details deserve a farmer’s attention. Newcastle disease has the smallest class by far, at 376 images. And the salmonella and Newcastle images came from chickens inoculated with those diseases, photographed after a week and within three days respectively, while the healthy and coccidiosis images came from working farms. Controlled infection is a sound way to get confirmed labels. It also means the sick droppings the model learned from were produced under research conditions, on two Tanzanian regions’ feeds and breeds. Because the data is open, any East African team can retest it on local flocks.
Where the three days go
Poultry losses pile up between the first sick bird and the first correct action.
Take an illustrative case, invented for this example: a layer unit outside Kampala running three houses with two workers. On Monday a worker sees watery droppings in house two. On the lab-only route, someone bags a sample, finds transport into town, and the farm waits. Meanwhile the same boots walk between all three houses and eggs keep going to market. When the result arrives later in the week, it describes a flock that has had extra days to spread whatever it carries.
On the phone route, the worker photographs the droppings at seven in the morning, the app flags them as unhealthy, and the farmer acts before lunch. House two gets its own boots and its own worker, bird movement stops, and a sample leaves for the lab the same day. The lab still takes its days, and house two spends them isolated.
The money sits in that difference. Poultry is a working-capital business. Feed is often bought on credit, and a buyer who loses supply for a month may find another farm. For the wider economics of the sector, read The Protein Decade: Dairy and Poultry Go Industrial.
The Flock Triage Ladder
The framework for this piece is the Flock Triage Ladder. It has four rungs, and the phone belongs on the first.
- Look. Every morning, one named worker checks the droppings in every house, by eye and, where you have an app you trust, by photo. The phone adds a timestamped record and a second opinion trained on lab-labeled samples. A notebook does part of this job, and a notebook kept daily beats an app opened weekly.
- Separate. An unhealthy flag triggers a written response that the worker carries out alone. The house closes to visitors, its worker stays with it, its boots and drinkers stay put, and birds and eggs from that house hold until the farmer makes the call. Write this rule on the wall before the first flag arrives.
- Sample. Collect fresh droppings the same day, label them with house and date, and get them to a lab or a vet. Settle in advance which lab, which transport and who pays. The lab’s clock starts when the sample arrives, so every hour spent hunting for a boda rider adds to the wait.
- Name. The vet, working from the lab result, names the disease and sets the response. Coccidiosis is caused by a parasite, salmonella by a bacterium and Newcastle disease by a virus, and each calls for a different plan. A single unhealthy flag stops short of that plan by design.
Rungs two and three cost a printed page and a saved phone number, and they set how much of the phone’s head start survives the week. A farm with a fast app and a vague protocol has bought speed it will spend on confusion.
The strongest case against the app
The sharpest objection comes from inside the AI field. The same Dagstuhl report that features the Tanzanian work warns, in its section on ice-sheet modeling, that “just because researchers have a hammer, does not mean every research problem is a nail.” Carried onto a poultry farm, the objection runs like this. The losses that hurt most come from an unvaccinated flock, a shared drinker or birds bought in at market, and a classifier touches none of them.
Uganda’s own evidence gives that objection weight, though it is old. An FAO review of smallholder poultry disease control in Uganda, published in January 2009, found poultry diseases reported in 91.4 percent of households interviewed, and only 28.2 percent had vaccinated against Newcastle disease. The same review cited a UBOS estimate of 27 million birds in 2008, more than 87 percent of them local chickens kept free range. A farmer who pays for an app before a vaccination schedule has bought a screen for a problem that needed a needle and a broom.
We concede the point in full for any farm that lacks a vaccination schedule and a biosecurity routine, because those come first. The phone earns its place where slow diagnosis is the binding constraint. The FAO review found exactly that constraint in Uganda: diseases identified mainly by symptoms, with little confirmatory diagnosis because diagnostic support is rarely available. If a vet lives close by and answers the phone, the app adds little. If the nearest lab is a day’s travel away, the first rung of the ladder is where your losses begin, and a photo check every morning is cheap insurance against a slow week.
What transfers to Uganda and Ethiopia
Here the evidence thins, and we prefer to say so plainly. The 98.02% figure is real, and it was measured on farm-labeled images from Arusha and Kilimanjaro. In this research pass we found no published field-accuracy figure for a dropping classifier used on Ugandan or Ethiopian farms. A model learns from the droppings, feeds, breeds, bedding and light of the farms that produced its training images. A layer house in Mukono on commercial mash and a backyard flock in Oromia on kitchen scraps may look different to a camera, and a Newcastle class of 376 images is a thin base for the disease you most need caught.
So the questions for any vendor are short. Which lab labeled your training images, and with which tests? Whose flocks, in which country? What does the app do with a photo it is unsure about? Who answers when it flags a house at seven on a Sunday morning? A vendor who answers all four has done the slow work. The longer list in Ten Questions a CFO Should Ask an AI Vendor applies to a farm as much as an office.
Founders building these tools face a distribution question as well as a model question. The farmer already buys feed, vaccines and drugs from an agro-dealer or a vet shop, and that counter is where trust in a new tool gets built, a point AI for Agro-Dealers works through for crop advice. In the 2009 FAO review, district veterinary offices and veterinary drug shops were the main avenues of vaccine supply, which is where a poultry app would find its first users too. An app that the worker stops opening in the third week behaves exactly like the pilots described in Why Your AI Pilot Died in Week Six.
Attention is the input the model assumes
Two premises from the analysis carry this section. The model is only as good as the people who labeled its images, and the ladder is only as good as the worker who looks at the droppings every morning. The technology frame calls this an efficiency gain, and it is right as far as it goes. It assumes a farmer who checks every morning, including the weeks when the check feels pointless, and it is silent on where that habit comes from. Scripture speaks to it. Proverbs 27:23 tells the herder to know well the condition of the flock and give attention to the herds, and the next verse gives the reason: riches do not last forever. The proverb treats daily attention to animals as stewardship of something entrusted, and a steward checks on the dull mornings as well as the alarming ones. The phone can make that attention faster and better recorded. The habit comes from somewhere older than the app, and it is the input every model in this essay quietly assumes.
Frequently Asked Questions
Can a phone app diagnose Newcastle disease in chickens?
The Tanzanian models classify dropping photographs, and an unhealthy image may be symptomatic of Newcastle disease, coccidiosis or salmonella. Treat the result as a triage flag. The open dataset holds only 376 Newcastle images out of 6,812, so naming the disease still takes lab analysis and a vet. Use the flag to isolate the house and send a sample the same day.
How was the Tanzanian poultry disease model trained?
Dina Machuve and colleagues used 1,255 laboratory-labeled fecal images annotated with PCR-tested samples, plus 6,812 photos annotated by agricultural support experts, taken in Arusha and Kilimanjaro. On farm-labeled test images, the lightweight MobileNetV2 model reached 98.02% accuracy after fine-tuning. The model carries lab and expert judgment out to the farm.
How long does lab diagnosis of poultry disease take?
In Tanzania, lab analysis of droppings can take three to four days, according to the Dagstuhl report, which adds that farmers often lose the entire flock by the time disease is confirmed. Times in Uganda and Ethiopia depend on distance to a lab and on transport, so measure your own round trip before an outbreak forces you to.
Should a smallholder buy a poultry disease app before vaccinating?
Vaccinate first. A 2009 FAO review in Uganda found only 28.2 percent of households had vaccinated against Newcastle disease. A vaccination schedule and basic biosecurity, such as separate boots for each house and careful control of birds bought at market, address losses that sit outside a classifier’s reach. An app earns its place where diagnosis is slow.
What should I ask a poultry AI vendor before paying?
Ask which lab labeled the training images and with which tests, which country’s flocks they came from, and what field accuracy the vendor has measured on farms like yours. Ask what the app does with uncertain photos, and who responds when it flags a house on a Sunday morning. Clear answers mean the vendor has done the slow work.
Next Step
Before Friday, write your farm’s one-page outbreak protocol: who checks droppings each morning, which house closes on a flag, which lab receives the sample and how it gets there. Then take the AVODA Business Capability Assessment to find where the rest of your operation has the same gap between noticing a problem and acting on it. An evening spent now buys back days during an outbreak.
Related Reading
- The Protein Decade: Dairy and Poultry Go Industrial
- AI for Agro-Dealers: Last-Mile Farm Advice in East Africa
- Ten Questions a CFO Should Ask an AI Vendor Before Signing
- AI Readiness for a Small Firm: 3 Questions That Matter
Sources and Evidence
- AI for Science: An Emerging Agenda (Dagstuhl Seminar 22382 report, arXiv 2303.04217): Tanzanian poultry scale (4.6 million households, about 36 million chickens), three to four day lab turnaround, flock loss once disease is confirmed, the link to Dina Machuve’s talk, and the hammer-and-nail caution.
- Poultry diseases diagnostics models using deep learning (Machuve, Nwankwo, Mduma, Mbelwa; Frontiers in Artificial Intelligence, 2022): 1,255 laboratory-labeled images with PCR annotation, 6,812 Open Data Kit photos annotated by agricultural support experts, farm-labeled test set, 98.02% (MobileNetV2) and 98.24% (Xception) accuracy, farm-level deployment recommendation.
- Machine Learning Dataset for Poultry Diseases Diagnostics (Zenodo record 4628934): Arusha and Kilimanjaro, September 2020 to February 2021, class counts (2,057 healthy, 2,103 coccidiosis, 2,276 salmonella, 376 Newcastle), inoculation method for salmonella and Newcastle images.
- A review of the current poultry disease control strategies in smallholder poultry production systems and local poultry populations in Uganda (FAO, January 2009): 91.4 percent of households reporting poultry disease, 28.2 percent Newcastle vaccination, 27 million birds (UBOS 2008) with more than 87 percent local free-range chickens, scarce confirmatory diagnosis, vaccine supply through district veterinary offices and drug shops.
- Smartphone based detection and classification of poultry diseases from chicken fecal images using deep learning techniques (ScienceDirect): later work aiming to classify diseases from phone images, and its description of a prior study limited to detecting abnormality in the image.
