Work / AI and Blockchain / Cetacea AI

pyceti-detector

A Python port of Project CETI's MATLAB coda detector.

Status
Working prototype · unreleased
Size
About 3,500 lines of Python, with tests
Run on
Project CETI's public example recordings
Source paper
CETI coda detector (MATLAB)
Lab
Cetacea Foundation
Framing
For the CETI ecosystem

Summary

Codas are the short click patterns sperm whales use with each other. Project CETI published a detector for them in MATLAB. pyceti-detector is a Python version, written fresh from the published paper, with the MATLAB code as a cross-check.

The design covers click detection, separating one whale from another, grouping clicks into codas, a command line and a Python API. It is a working prototype. It has been run on Project CETI's two public example recordings. It has not been scored against labelled data and it has not been released.

The pipeline, as designed

INA recordingHydrophone audio STEP 1Click detectionFind the clicks STEP 2Whale separationTell one whale from another STEP 3Coda groupingGroup clicks into codas OUTTwo ways inA command lineA Python API STATUSWorking prototypeRun on two public recordingsNot scored. Not released.
The design follows Project CETI’s published detector. The last box is the honest one.

Why it matters

MATLAB licensing is a real barrier for conservation NGOs and field-station bioacoustics groups, most of which work in Python. The existing tool is driven by hand, which rules out batch processing, scheduling and running as a service, all of which modern passive acoustic monitoring needs.

The cetacean acoustics community has produced several foundation models in the past two years. A Python detector is the natural place to connect them.

What was noteworthy

The framing decision matters more than the code: a fresh implementation from the paper, with attribution to the original authors up front, and an introduction to the CETI team made with a working artifact in hand. The bet is that the work earns its way in.

Back to Cetacea AI