Angad Sandhu
Search
Browse
On this page

Classifying Cats and Dogs in Raspberry Pi

Classifying Cats and Dogs in Raspberry Pi

This is the code repository of performing Transfer Learning on a pretrained model for Cats vs Dogs Image Classification task to be run on Edge device of Raspberry Pi. To get started, go through this Python notebook. Generate the required TFLite assets from it.

Prerequisites

To install the Python dependencies, run:

pip install -r requirements.txt

Next, to run the code on Raspberry Pi, use classify.py as follows:

python3 classify.py --filename input.jpg --model_path converted_model.tflite

Browse the library