Predict dog or cat
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.
The project is entirely implemented using Python3. The Conceptual Framework involved is mainly:
-
OpenCV – Used to handle image operations
-
Keras – Tensorflow backend
getting dataset form this repo
- 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 ]
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.