Inspiration

I like Shazam app for music. I didn't find something like that for those little plants I find when i go walking to the forest. Then i created my own. A snapshot and 3-5 seconds later I get not only the name but all the relevant information. And URLs to click for getting even more info. All snapshots remain in a history tab so i can know which plant i saw when.

What it does

Name a plant from one photo and see the evidence: source, confidence and details. Unknown plants get Not recognized, never a guess. Web and Android.

How we built it

React web app on Cloud Run, plus a Capacitor Android shell. Gemini Nano on-device in Chrome via Firebase AI Logic. The snapshot is given to Nano to build a patterns file of the plant. That is compared to a database i built from public domain repositories for fast lookups on device. Database is stored in the phone as text so that the app is slim and works offline. If the phone is connected to internet then images are downloaded. Patterns can be too close to different plants, then a matching score needed to be calculated. 5,241-species catalog is the first batch of the database. To be expanded to 50000.

Challenges we ran into

Database takes time to build. 5000 entries means I got about half of matches for all the plants i took pictures around my home. And that is because those are common plants. To get 90% coverate I would need around 100k entries in my database.

I wanted a lot of functionality in the first version of this app, but to avoid missing the deadline then in the last 24 hours i needed to discard half of it and focus on the core only.

Accomplishments that we're proud of

The app works. It is an Android app that i have it in my phone and I can take quick snapshots from my kitchen plants and the nearby forest, or whenever i am walking.

What we learned

Nano is a bit weak for building the facts sheet from a picture. Also it sometimes invents names of a plant. Then part of the debugging needed to build a layer of protection against Nano hallucinations.

What's next for Herbarium: Photograph a plant, see its name

To expand the database. To add back the functionality i removed (to geo locate where i took every picture, maps, dates, build maps from species and time of the year, journals, etc. Put it in Google store.

Built With

Share this project:

Updates

Submission history