This repository contains the documentation for SeaSee GLOBALE API.
- Overview
- How to run?
- Machine Learning Documentation
- Mobile Development Documentation
- Cloud Computing Documentation
- Team Member of C23-PS067
Marine pollution poses a serious threat to our oceans and marine ecosystems, with humangenerated trash being a major contributor. To address this issue, we propose the development of a Sea Trash Detector program called SeaSee GLOBALE. It utilizes computer vision techniques to detect, track, and classify sea trash in real-time. By analyzing images captured by cameras on boats or drones, the program provides valuable insights into marine pollution sources and enhances pollution prevention efforts. Our goal is to reduce the impact of marine pollution, protect marine ecosystems, and promote sustainable ocean management.
This API has been deployed using google cloud (Cloud Run) u can access it here:
https://seesea-globalev1-vdrlzglb3q-et.a.run.app
If u want to run it locally u need to:
- Clone this repository
https://github.com/l1nl1n29/C23-PS067.git
- Open terminal and create venv using
python -m venv venv
- Install all requirement with
pip install -r requirements.txt
- Run
python api.py
in terminal to run flask - use url
http://127.0.0.1/
to access all api endpoint
The process of Data Preparation and Modeling can be accessed in this Google Colaboratory
- Gathering Sea Trash and Coral Dataset for Training and Validation
- Cleaning Sea Trash and Coral Dataset for Training and Validation
- Export Clean Sea Trash and Coral Dataset to Kaggle
- Making Local Environment for Kaggle Dataset
- Preprocess Dataset using Numpy and ImageDataGenerator
- Preprocessing Classification Dataset model with Convolutional Neural Network and MaxPooling
- Building and Training Classification Model using Sequential Tensorflow Keras Model
- Adding Camera Feature on model
- Making prediction model for classification
- Deploying Classification Model to Tflite, *. json, *.h5 extension
Tasks that have been completed by mobile development:
- Created a user flow using draw.io
- Created Wireframe using Figma
- Analyzed the Design
- Created Prototype using Figma
- Implemented the Design into the Application using Android Studio and Jetpack Library
- Created Authentication Code for Users using Android Studio
- Created Validation Code for EditText on Login and Register section using Android Studio
- Used Lotie-Airbnb loading animation on the button
- Created viewmodels and adapters for each activity and fragment using Android Studio
- Created Room Database so that user data can be saved if the application is closed
- Created code for Intent Camera and Intent Gallery on Android Studio
- Created code to connect the application to the Cloud using retrofit
- Tested the application
- Create a local database using PHP MyAdmin
- Create Private API Endpoint for register, login, predict, logout, and user
- Connecting Private API with machine learning models using Flask
- Create a database in Cloud SQL
- Building a docker image in a cloud shell
- Deploying the build image to Cloud Run
- M040DSX2846 - Edward Al Faruq Purba
- M040DSX0003 - Ongky Setia Nugraha
- M040DSX1549 - Dien Manarul Aliem
- C339DSY3680 - Lin Lin Herlina
- C339DSX4889 - Gilang Gumelar Ramadan
- A214DSX3713 - Bridhoyoan Sinaga