Urgent.News

What's breaking now, across hundreds of outlets.

AI

I Said AI Could Build a Cow Detector in 15 Minutes. So I timed it.

A few days ago, I was having a discussion with a friend about computer vision. We were reminiscing about what it was like to build an object detector 12 years ago. Face recognition at the time was already pretty good, but when digging into anything new, you pretty much had to spend days collecting and labelling images, and then testing, adjusting, and repeating. Not to mention the time spent…

A few days ago, during a conversation with a friend about computer vision, I made a bold claim that I could build a cow detector in just 15 minutes. To prove my point, I timed the experiment using Claude Code with its default Opus 5.5. I created a GitHub repository and provided GPT with a prompt to engineer a detailed solution for detecting cows in photographs.

The agent was free to pick the tools and models, and surprisingly, it chose the pretrained YOLO26-x detector. The entire process took 20 minutes and 6 seconds to create a working image detector, with bounding boxes, JSON output, benchmarks, and validation tooling. Video tracking and movement classification took an additional 56 minutes and 7 seconds.

The results were promising, with an 91.7% precision and 87.0% F1 score on the COCO val2017 cow subset. However, it's important to note that the default detector may not perform as well on different environments, like drone images of dairy or beef farms. To run the experiment, I used an Apple M4 Max, and the inference timings exclude the longer process of writing and testing the code.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in AI

One base_url, many models: switching to an OpenAI-compatible endpoint

Disclosure up front: I work on the gateway described below, so treat the code as practical and the conclusions as my own experience, not neutral benchmarks.

  • Using a single OpenAI-compatible endpoint simplifies managing multiple model providers.
  • Model names vary across providers, requiring a mapping table in configuration.
  • Billing models matter more than headline prices; pay-as-you-go can be cost-effective.

More from Monday 23 November →