Implement Dog vs Cat Prediction Model in Android app

Overview

Implement-ml-model-in-android-app

Implement Dog vs Cat Prediction Model in Android app

This project aims to classify the input image as either a dog or a cat image. The image input which you give to the system will be analyzed and the predicted result will be given as output. Machine learning algorithm [Convolutional Neural Networks] is used to classify the image. The model thus implemented can be extended to a mobile device or any website as per the developer’s need.

Conceptual Framework:

The project is entirely implemented using Python3. The Conceptual Framework involved is mainly:

  • OpenCV – Used to handle image operations

  • Keras – Tensorflow backend

Step 1: Getting the Dataset

getting dataset form this repo

Step 2: Installing Required Packages [Python 3.6]

  • OpenCV —> ‘3.4.0’ [ Used to handle image operations like reading the image, resizing, reshaping]
  • numpy —> ‘1.14.4’ [ Image that is read will be stored in an numpy array ]
  • TensorFlow —> ‘1.8.0’ [ Tensorflow is the backend for Keras ]
  • Keras —> ‘2.1.6’ [ Keras is used to implement the CNN ]

Step 3: How the Model Works ??

The dataset contains a lot of images of cats and dogs. Our aim is to make the model learn the distinguishing features between the cat and dog. Once the model has learned, i.e once the model got trained, it will be able to classify the input image as either cat or a dog.

Requirements

Authors

Demo

Alt text for your video

Thanks

You might also like...
Pokedex - Pokedex demo application developed using Hilt, Coroutines, Jetpack Compose, View Model, Coil, Accompanist, Material Design based on MVVM atchitecture Book selling application with MVVM (Model, View, ViewModel)
Book selling application with MVVM (Model, View, ViewModel)

Book selling application with MVVM (Model, View, ViewModel), LiveData, DataBinding, Retrofit, Room Database, Navigation Component(NavGraph, BottomNav), ViewPager2 in TabLayout, SearchView, Vertical Adapter(BestSellers) and Horizontal Adapter(All Books) with ConcatAdapter for Main Screen, Firebase Auth, SearchView in Adapter, Picasso, Lottie, Animated Svg for Splash

A movies application built Using clean architecture and MVVM (Model-view-viewModel).
A movies application built Using clean architecture and MVVM (Model-view-viewModel).

Movies-App This is a movies application which fecthes upcoming and popular movies from the movie Database(TMBD). It is built Using clean architecture

Mole Analysis Use Case for HMS ML Kit Custom Model
Mole Analysis Use Case for HMS ML Kit Custom Model

Mole Analysis Mole Analysis Use Case for HMS ML Kit Custom Model Introduction What is Melanoma? Melanoma is the most serious among skin cancers becaus

Order Food Application Build With Kotlin MVVM (Model - View - ViewModel)
Order Food Application Build With Kotlin MVVM (Model - View - ViewModel)

Kotlin Order Food Application Build With Kotlin MVVM (Model - View - ViewModel) Clean Architecture, MSSQL API, Beautiful Design UI, Smooth Animations Using Tools And Components Supported By Google And By Most Of The Android Development Community

Implement Webpage in Android App
Implement Webpage in Android App

This is the application for add a webpage in a android app and act like a browser

Happy-Birthday - Design and implement a single screen app that displays information
Happy-Birthday - Design and implement a single screen app that displays information

Happy Birthday Android App | Android Basics in Kotlin Course Solution code for t

📱 Android Library to implement Rich, Beautiful, Stylish 😍 Material Navigation View for your project with Material Design Guidelines. Easy to use.
📱 Android Library to implement Rich, Beautiful, Stylish 😍 Material Navigation View for your project with Material Design Guidelines. Easy to use.

Material NavigationView for Android 📱 📱 Android Library to implement Rich, Beautiful Material Navigation View for your project with Material Design

Sample to show how to implement blur graphical tricks
Sample to show how to implement blur graphical tricks

BlurEffectForAndroidDesign Sample to show how to implement blur graphical tricks All the explanations could be found here: http://nicolaspomepuy.fr/?p

Owner
Aditya deshmukh
I am full stack dev looking to solve real world problems. I have a passion for learning and sharing my knowledge with others as publicly as possible.
Aditya deshmukh
UML model and code examples of design patterns for Kotlin/Native. The model is created with Astah.

Design Pattern Examples in Kotlin/Native Model and code examples of GoF Design Patterns for Kotlin/Native. This project is available for the following

Takaaki Teshima 3 Jun 27, 2022
Detect-My-Mask: An android app which runs along with a TensorLite ML Model which detect whether a person is wearing mask or not.

Detect-My-Mask About : Detect My Mask is an Android Application which is powered by a TensorLite ML Model which is programmed and trained to detect wh

Siddharth Singh 5 Aug 8, 2022
Candash - A simple Android app that turns your phone into an instrument cluster for your Tesla Model 3 and Y

What is CANdash? CANdash is an Android app that turns your Android device into a

Nick Nguyen 31 Nov 5, 2022
This document will walk you through the steps for creating your Android app that runs a deep learning image classification model trained in Pocket AutoML and exported in TensorFlow Lite format

Pocket AutoML: Tutorial for Creating an Android App for Image Classification with Deep Learning Translations English (this document) Русский Overview

Evgeniy Mamchenko 15 Nov 22, 2022
Food101 android app - Fine tune the EfficientNet model with Food101 dataset

Food101 Android App Fine tune the EfficientNet model with Food101 dataset. Conve

Junwei 1 Feb 15, 2022
This app using Mlkit along with the TensorFlow Lite model for object detection,

I built this app using Mlkit along with the TensorFlow Lite model for object detection, Arcore is used to place anchors to the detected objects. It's a good blend of Machine learning and Augmented reality to visualise ML information in a much better way than regular bounding boxes

Kashif Mehmood 18 Nov 10, 2022
COVID-19 Check-in solution for store using a safe number based on MVVM model.

wave-in-listener English version : README_EN.md wave-in-listener 는 매장에 방문한 고객의 개인안심번호를 음파통신을 이용해 수신할 수 있는 앱입니다. 이 앱은 wave-in-speaker 앱과 함께 사용됩니다. wave

Euphony 14 Jul 25, 2022
COVID-19 Check-in solution using a safe number based on MVVM model.

wave-in-speaker wave-in-speaker는 방문하는 공간에 전자출입명부를 쉽게 남기도록 도와주는 앱이며 특히 코로나 바이러스 감염증(COVID-19) 기간동안 효과적으로 사용가능합니다. 이 앱을 사용하면 QR코드 대신 음파 통신으로 체크인할 수 있습니다

Euphony 15 Oct 15, 2022
This Andoird project is about classifying garbage pictures using a CNN-based Tensorflowlite model and fetching location using GPS to mark its area on the map.

Grbage_Detector_And_Locator Description As per some of the recent reports published, in India, the pollution levels are increasing at a colossal pace

Sayantan Banerjee 5 Mar 5, 2022
This project shows trending github repositories using MVI (Model View Intent) using kotlin flows and multi module clean architecture

GithubTrendingMVIFlow Build Architecture: This project shows trending github repositories using MVI (Model View Intent) using kotlin flows and multi m

Zulqurnain Haider 0 Jun 2, 2022