Plant identification, on your terms

Point a photo at a plant. Start with a better lead.

L.E.A.F. is a small, self-hosted plant identification service. Choose a photo and compare the plants a model thinks it sees, either through your own server or directly in a browser.

Identify a plant

A clear path from a photo to the next thing to check.

01 / FRAME

Choose a photo

Drop, paste, or select a picture with the plant plainly visible.

02 / IDENTIFY

Run a model

L.E.A.F. can preload a server model or use an on-device model when a browser build is available.

03 / CHECK

Read the matches

Compare ranked scientific and common names, then confirm the lead with a field guide or local expert.

See the result in the shape you will use.

Every run returns a ranked list, rather than a claim of certainty. The top result gets the visual emphasis; the rest remain available for a closer look.

Try your own photo

Representative result layout

Eschscholzia californicaCalifornian poppy
99.98%
Model and image detailsReturned alongside ranked predictions when using the API.
JSON

The first row uses the README's documented API example. The second row describes the response format, not a second plant prediction.

Run it where the photo makes sense.

One interface, two useful paths.

Use a self-hosted model when you want a service you control. When browser-ready models are present, L.E.A.F. can run them on the device that took the photo, keeping that image in the browser.

  • Self-hostedFastAPI serves the page and swappable plant-identification models from the same container.
  • On-deviceBrowser models use WebGPU when available, with a WebAssembly fallback and local browser caching.
  • CompareWhen several ready models are available, run them side by side and see where they differ.

The workbench

This is the live tool, on its own page. Add a plant photo, choose the available model, and inspect its ranked matches.

Open the workbench