Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sarthakpranesh/plantrecog

Free Plant Recognition App + Public API + Models
https://github.com/sarthakpranesh/plantrecog

android api api-rest classification deep-learning expo express flowers hacktoberfest hacktoberfest2021 hacktoberfest2022 machine-learning madeinindia plants react react-native recognition tensorflow2 tensorflowjs

Last synced: 4 days ago
JSON representation

Free Plant Recognition App + Public API + Models

Awesome Lists containing this project

README

        


PlantRecog aims to become or lead to the goto "Free Plant Recognition" solution. Why? As of today, 30th August 2021, there aren't many online free services or apps available to solve this problem. The existing solutions are mostly paid and have high subscription amounts per year. I want to create a fairly basic but usable set of services (app + api + models) for people who want to develop tools that recognize plants.

The current version of the project is able to recognize 299 plants using their flowers. This flower recognition model and API developed under this project are available freely in the repository. They can be self hosted by anyone who wants to use these services for building their own apps.


## App
PlantRecog is now available on Google Play Store

Get it on Google Play

Or get the latest release from [GitHub Release Page](https://github.com/sarthakpranesh/PlantRecog/releases)


## Recognition Service
This is the documentation for the server API that is used in PlantRecog. This server can be hosted online to develop apps that require such a service.

| Request | Payload | Description |
| --- | --- | --- |
| `get "/"` | `{"message":"Server Up and Fine"}` | Index route to make sure server is running, Heroku puts the server to sleep so it'll be great to call this in start of your app to wake the server up |
| `get "/details"` | `{"message":"Success","payload":{"recognized":["Abutilon","Acacia",...,"Zenobia","Zinnia"]}}` | Get all the recognized classes for the latest model available on the server |
| `post "/predict" content-type="multipart/form-data" parameter="image"` | `{"messages":"Success","payload":{"predictions":[{"name":"MorningGlory","score":0.38581109046936035},{"name":"Acacia","score":0.14158271253108978},{"name":"MoonflowerVine","score":0.12431787699460983},{"name":"LilyoftheValley","score":0.06644751876592636},{"name":"FrangipaniFlower","score":0.062477629631757736}]}}` | Post plant image using `multipart/form-data`, parameter name should be `image` and the route will provide the top 5 prediction for the plant image |

### Other services used
Gyan API - https://github.com/sarthakpranesh/Gyan


## Issues
If you come across any issues or have feature requests please open them [here](https://github.com/sarthakpranesh/PlantRecog/issues)


Made with ♥