Raw footage in. Training data out.

Corral finds the frames worth labelling and puts the hard ones in front of people first.

  • MITlicence
  • SQLiteand files, on your machine
  • 4export formats
  • 64passing tests

Open source, and built first for a cattle-health startup.

See the demo run

From footage to dataset.

Real output, not mock-ups.

One clip, frame by frame.

Everything a dataset needs, handled.

Three commands to a dataset.

Python 3.11+, FFmpeg and uv. Point it at whatever your cameras recorded.

Full quickstart
# a project, your footage, a first pass by a detector
corral init cattle --schema examples/cattle.toml
corral ingest ~/footage -p cattle && corral prelabel -p cattle -l yolo
corral serve    # review, then: corral export -p cattle --format yolo

FAQ

What does Corral need to run?

Python 3.11 or newer, FFmpeg for video, and a folder. Everything lives in a .corral directory: one SQLite database, extracted frames and exports.

Do I need an API key for the Claude labeler?

No. It runs the Claude Code CLI in headless mode with whatever login the CLI already has, and checks every answer against a JSON schema built from your label schema.

Can I plug in my own detector?

Yes. Subclass DetectorPlugin, return boxes in pixels, and run corral prelabel -l my_model.py:MyDetector. Its labels are ranked and reviewed like any other model's.

How are train, val and test split?

By source group, never by frame: every frame of a clip lands in the same split, and a clip keeps its split in later versions. File names start with the split, so trainers that hold out by name work too.

Where does my data go?

Nowhere, unless you run the Claude labeler, which sends the items it labels to Claude through the CLI. Review happens in a browser pointed at your own machine.

Is it free?

Yes. Corral is open source under the MIT licence.

Your cameras already recorded it.

Get started