Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 2.27 KB

README.md

File metadata and controls

34 lines (24 loc) · 2.27 KB

pal.ai

pal.ai is a progressive web app that uses images of rice leaves to identify rice leaf diseases.

In the back end, we use a minimal SvelteKit server that proxies the Hugging Face Hosted Inference API, which interfaces with a model that uses a BEiT vision transformer model to classify images of rice plants for the presence/absence of diseases. The model is pre-trained using ImageNet 22k then finetuned using the PH Rice Leave Diseases dataset. The model achieves 95% accuracy using the dataset test set despite having only 1120 training data points.

In the front end, pal.ai is an installable progressive web app (PWA) written in TypeScript with the Svelte framework. It uses the Vite build system for asset bundling, packaging, and optimization. The PWA allows users to upload their own images of rice plants for classification.

Environment Variables

Name Description
API_KEY API key from Hugging Face profile settings.

Project Members