- Adam Aristama (M2211F1958)
- Devany Putri Mirasati (M7211F1957)
- Dinda Fathihah Sari (C7211F1960)
- Dimas Bayu Anjasmara (C7266F2290)
- Ferdian Arjutama Narwan (A2183G1774)
- Indra Purnomo Aji (A7299F2590)
Pet2Home is an application intended to raise awareness of abandoned animals, especially cats and dogs, and also to help potential adopters to find their pets. Aside from adopting animals, users also can use a Pet2Lens feature that can make it easier to find out the breeds of dogs or cats they found. This project expects to help improve the welfare of abandoned animals and reduce the level of animal violence to illegal trade in animals, especially dogs and cats.
This app is able to identify 5 breed of dog and 5 breed of cat and determine its quality with a Machine Learning model. And then it will insert the data into a database, which will save all the breed info which is saved into it. Currently the classifications are limited to:
- Abyssinian
- Beagle
- Bombay
- British Shorthair
- Chihuahua
- Persian
- Pomeranian
- Pug
- Shiba Inu
- Siamese
- Transfer Learning Xception Architecure
- model
link dataset https://www.kaggle.com/datasets/zippyz/cats-and-dogs-breeds-classification-oxford-dataset
- Mount your Google Drive to colab and download the dataset
- Or using kaggle API to download directly to google colab
- Unzip dataset after that shuffle and split data into train and validation
- Make sure that all categories are listed as a directory in the dataset folder
- Create ImageDataGenerator for train, validation
- Build the model architecture, and set callbacks
- Fit the model, and evaluate it
- Visualize the result, and convert model into SavedModel, TFLite format or model.h5
- Create Compute Engine Instances and connect Instances via ssh
- Clone this repo
git clone https://github.com/Adamaristama/bangkitpet2home.git
- Type
python3 -m venv .venv
and hit enter - And then, type
source .venv/bin/activate
- Type
pip install -r requirements.txt
- Start this Server With command
python3 main.py
- It will run on
http://127.0.0.1:5000
and can connect into it via GCE instances Public IP - Machine Learning model deployed