| import streamlit as st |
|
|
| st.set_page_config( |
| page_title="Rice Disease Classifier πΎ", |
| page_icon="π", |
| ) |
|
|
| st.title("Rice Disease Classification App π") |
| st.write("*Project by Omdena Laguna, Philippines Chapter*") |
| st.write("**Chapter Lead:** [Signour Melo](https://www.linkedin.com/in/signour-sigmeund-melo-63aa791aa/)") |
| st.image("pages/RiceDiseaseClassifier.jpeg", caption='', width=450) |
|
|
| st.header("How does this app work? β") |
| st.write(""" |
| Once you upload the image of your rice plant using any one of our models, |
| they further check the diseased areas and classify the type of disease. |
| They also provide information & solutions based on the resulting disease. |
| """) |
|
|
| st.subheader("How to use this app? π€") |
| st.markdown(""" |
| 1. Select any one model from the sidebar |
| 2. Upload the image of your rice plant πΎ & wait for a few seconds |
| 3. The model shows the type of disease the plant suffers from. |
| |
| - Choose the second model to know more about the disease & suggested solutions that help prevent them. |
| """) |
|
|
| st.sidebar.info("Please select a page above π") |
|
|
| st.sidebar.write(""" |
| ### π Background |
| Rice is the heart of Filipino cuisine, an ingredient so fundamental to the countryβs food culture that it is eaten at every meal, from breakfast to dinner. |
| Itβs served at every meal with almost every dish as well as plays an important role in Filipino celebrations and rituals. |
| |
| ### π The Problem |
| Rice diseases are a major concern where a variety of fungal, bacterial, & viral diseases can infect rice plants, causing reduced yield, |
| lower quality, and even total crop loss.These diseases can be devastating to farmers, especially those with limited resources. |
| *Read more about it [here](https://www.omdena.com/projects/creating-a-rice-disease-classifier-using-open-source-data-and-computer-vision)* |
| """) |
|
|
| st.sidebar.image("pages/laguna_chapter.png", width=250) |