Hi everyone, we are from C23-PS057 proudly present, ENVy! our innovation to raise public awareness regarding environments quality !
- Table of contents
- Team Developer
- About
- Workflow ENVy
- Bussines Plan
- Presentation Video
- Demo Video
- Support By
- API Reference
Team ID : C23-PS057
Team Member :
- (ML) M295DSX1443 – Riza Fazhriansyah Hermawan
- (ML) M295DSY0164 - Humaira Zahra Ihwati
- (ML) M295DKY4071 – Arum Putri Juniarsih
- (CC) C069DSX2613 – Akmal Muhammad Ridho
- (CC) C100DSY4892 – Ariel Almutatohirin
- (MD) A259DKX4947 – Yayes Kasnanda Bintang
ENVy (Environments Quality) is a mobile application designed to detect and measure the quality of water, air, and soil based on predetermined chemical parameters. ENVy provides detailed reports on environmental quality based on the specified parameters, enabling users to make informed decisions and take appropriate actions. This application empowers users to become agents of change who care about the environment.
Research shows that poor environmental quality can have a negative impact on both human health and the environment. However, information about environmental quality is often difficult to obtain and hard for the general public to understand. Therefore, our team aims to solve this problem by creating a mobile application that can predict environmental quality based on chemical parameters. This application will allow users to obtain accurate and up-to-date information about environmental quality in their surroundings and help them take appropriate preventive measures. We also want to assist the government in making decisions regarding environmental policies by providing data that has been collected
- The goal is to simplify the complex information related to environmental quality, making it easier for the general public to comprehend
- Enable the general public to make informed decisions regarding their environment. By providing accessible and understandable information, the application should empower users to take appropriate actions to protect their health and the environment.
- Assist the government in making informed decisions about environmental policies. By providing reliable and comprehensive data on environmental quality, the application can contribute to evidence-based decision-making and help shape effective environmental regulations.
We use dataset from online resources, for specific link you can cek in this list :
- For Soil Dataset you can klik here.
- For Water Dataset you can klik here.
- For Air Dataset you can klik here.
We build model with Tensorflow squential model after we do some prepocessing from the dataset and save model in to model.h5. After that, the model is deployed with FAST API and docker. for detail code that we use you can click this :
-
Open Google Cloud Console: Open the Google Cloud Console by visiting the following URL: https://console.cloud.google.com/
-
Activate Cloud Shell: Click on the Cloud Shell icon in the top-right corner of the console. This will open a Cloud Shell terminal at the bottom of the console.
-
Select or Create a Project: Ensure that you have a project selected in the Cloud Shell. If not, create a new project or select an existing project using the project selection drop-down at the top of the Cloud Shell.
-
Set the project id
gcloud config set project PROJECT_ID
-
Enable Cloud Run API: Run the following command to enable the Cloud Run API:
gcloud services enable run.googleapis.com
-
Clone repository following this command
git clone -b CC https://github.com/ykbintang/Envy-Bangkit2023.git
-
Open the app folder
cd Envy-Bangkit2023
-
Config .env and service_account file.
-
Build and Push Docker Image: Build and push your Docker image to a container registry. Use the following commands as an example:
gcloud builds submit --tag gcr.io/[PROJECT_ID]/[IMAGE_NAME] gcloud auth configure-docker docker push gcr.io/[PROJECT_ID]/[IMAGE_NAME]
Replace [PROJECT_ID] with your Google Cloud project ID and [IMAGE_NAME] with the desired name for your Docker image.
-
Deploy to Cloud Run: Deploy your Docker image to Cloud Run using the following command:
gcloud run deploy [SERVICE_NAME] --image gcr.io/[PROJECT_ID]/[IMAGE_NAME]
Replace [SERVICE_NAME] with the desired name for your Cloud Run service.
-
Configure Service Settings: Follow the prompts to configure the desired settings for your Cloud Run service, such as region, authentication, and concurrency.
-
Wait for Deployment: Wait for the deployment process to complete. Cloud Run will automatically set up the necessary resources and provide you with the service URL.
- Soil Predict Quality: Predict soil quality with Nitrogen,Phosphorus, Potassium, pH parameters (accuracy 94.03% and validation accuracy 91.14%)
- Water Predict Quality: Predict water quality with FC, Oxygen, pH,Total Suspended Sediment, Temperature, Nitrogen,Phosphorus,Turbidity parameters (accuracy 87.77% and validation accuracy 81.48%)
- Air Predict Quality: Predict air quality with Nitrogen Dioxide,Ozone, Carbon Monoxide, Particulate Matter parameters (accuracy 98% and validation accuracy 98%)
-
Get the chemical parameter value input from the user from the HTML form and then put it in an array for inference.
-
Predict user input using a model that has been created using TensorFlow.
-
Issue predictive labels on several categories of various environmental aspects
-
The final prediction result is returned to the prediction page to be displayed to the user.
This is our bussines plan for ENVy application, you can see the document in here.
To see the presentation from our team you can see in here
To see the video ENVy application demo, please see it here. And this is our application demo
- Kampus Merdeka
- Bangkit Academy 2023
- GoTo
- Traveloka
We also provide API documentation for developers who are interested in integrating with our application. Visit our API documentation.