Skip to content

Building Application Mobile Apps Using Image Classification for Capstone Project from Bangkit Academy Batch 6

Notifications You must be signed in to change notification settings

yanuarcy/Fruiteasy

Repository files navigation

Fruiteasy Logo

About Fruiteasy

The WHO recommends a daily fruit consumption of 400 grams per person for better health. However, in Indonesia, the average intake is only 81.14 grams per capita per day (BPS, 2021), falling short of the WHO threshold. Limited awareness of nutritional benefits leads to repetitive fruit choices and potential health issues. An Android app that classifies fruit images could address this challenge by providing interactive identification and detailed nutritional information, promoting healthier choices and reducing chemical consumption.

Fruiteasy, an innovative Android application that uses advanced image classification technology to help you make informed fruit choices. Simply capture an image of a fruit, and our app will identify it and provide detailed nutritional information, serving methods, dietary benefits, and potential health benefits.

Preview Demo Apps

Demo Apps VideoClick Me

Deployed Application

Fruiteasy APK

Tech Stack

Python Kotlin Nodejs Flask JavaScript

Software & Tools

git firebase postman android tensorflow

Home Page

Scanner Page

Profile Page

Detail Information Scanner Page

History Scanner Page

Detail Information History Scanner Page

Email Verify on Email

Email Verify Success on Email

Forgot Password Link on Email

API

Here's the API we used into our Apps:

Base URL (https://fruiteasy-be-nrw674jbdq-et.a.run.app)

API for Register Features :

API for Login Features :

API for Forgot Password Features :

API for Edit MyProfile Features :

API for Reset Password Features :

API for Predict Image and Add History Features :

API for Get Data History Features :

API for Get Data Fruit Season Features :

API for Report Bug Features :

API for Contact Us Features :

Prerequisites

  • Python 3.10.12
  • Tensorflow 2.15.0
  • Install necessary packages using pip install -r requirements.txt

Our Result

Resources Description Link URL
fruiteasyV6.h5 Our latest trained model Link
CombinedV6.zip Our latest raw dataset Link
Complete-ready-to-useV4.zip Our latest cleaned/preprocessed/formatted/augmented dataset Link
262-for-testV2.zip Our latest dataset for testing Link

Preprocess raw dataset

We already provide a code to preprocess/format/augment our raw dataset (our dataset available on /Assets/dataset-and-pretrain.txt)

  • If you want to use Google Colab/Jupyter Notebook, simply upload the Preprocessing_formatting_augmenting.ipynb, or use our colab Here. Just run all the cells and modify some variable name if you want.
  • If you are using linux and want to use standard python code, follow this steps:
  1. Download one of the raw dataset in here /Assets/dataset-and-pretrain.txt, the raw dataset indicated by name CombinedV
  2. Extract the dataset
  3. simply run python3 Preprocessing-alternative-code.py
  4. zip the file and use it for next step

Training-evaluation-prediction

📰 Preprocessing 📔 Train-eval-predict
Link Link

Here is a couple notes:

  • Make sure T4 Gpu selected on runtime for better performance
  • Run the dependencies cell
  • After that you can either go for training process (A) or simply skip it to use our model directly (B)
  • If you choose option A, you need to run all the cells from 1 to 5, then run either option with fine tuning or without fine tuning (please choose one), next start the training loop using 6, for the rest 7-10 you can simply explore it (self explanatory)
  • If you choose option B, you can directly use the model to predict after running the 1 and 2.

About

Building Application Mobile Apps Using Image Classification for Capstone Project from Bangkit Academy Batch 6

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published