Count colonies on a Petri dish
in seconds, not hours.

Drop in a phone photo. Petrilya finds every colony, gives you the count, and exports a clean report. Open-source desktop app. No code, no cloud, no GPU required.

Open-source No cloud No GPU required AGPL-3.0

Petri dish with colored colony detections
200 colonies in 1.18 s

How it works

Three clicks from a photo on your phone to a report on your director's desk.

  1. 1

    Drop the image in

    Drag a JPG/PNG/TIFF from your microscope, phone, or scanner into the window. Or process a whole folder at once with batch mode.

  2. 2

    Click Analyze

    Cellpose under the hood. Pretrained models segment every colony, no settings to tweak. Each one gets an ID, area, diameter, eccentricity.

  3. 3

    Export the report

    One-page PDF with preview, histogram, and table. CSV for spreadsheets. JSON manifest with SHA-256 and parameters for reproducibility.

What it does

📥

Drag & drop

Drop a JPG, PNG, or TIFF straight from your phone or microscope. Batch a whole folder when you have a hundred dishes.

🔬

AI segmentation

Powered by Cellpose under the hood. Pretrained models recognise colonies of different shapes without any setup.

✏️

Fix what AI got wrong

Erase a misdetected colony with a click. Paint in one the model missed with the brush tool. Metrics recalculate instantly.

🔍

Zoom & pan

Wheel-zoom into any part of the dish, Space-drag to pan. Inspect small details, then fit-to-window with F.

📏

Real units

Set micrometers-per-pixel and your areas come out in µm² and diameters in µm — ready for the methods section.

📄

Publication-ready exports

One-page PDF report with preview, histogram and table. CSV for spreadsheets. JSON manifest with SHA-256 for reproducibility.

💻

Works on your laptop

Windows, macOS, Linux. CUDA when you have it, plain CPU when you don't. Your data never leaves the machine.

🔁

Batch mode

Point at a folder, get a CSV, PDF and JSON per image plus a summary.csv aggregating the run. Walk away while it works.

🔒

Yours, locally

No telemetry, no accounts, no upload. Sensitive patient samples and pharma data stay on the workstation.

Download

Petrilya is in pre-alpha. There's no installer yet — the project is being built in public. To try the in-progress build, clone the repository.

git clone https://github.com/petrilya-app/petrilya-core.git
cd petrilya-core
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e .
petrilya-ui

Releases on GitHub Report an issue

For labs and pharma

Petrilya is dual-licensed: AGPL-3.0 for the open-source build, and a commercial license for organisations that need on-premise deployment without copyleft obligations — including air-gapped lab networks and GMP-relevant workflows.

Interested in a pilot, custom integration with your LIMS, or training data? iliarogogvykh@gmail.com