Dog vs Cat AI

Classify with webcam or photo upload

📷

Click or drag and drop a photo

Uploaded image

How It Works

Our Dog vs Cat AI Classifier uses a machine learning model trained with Google's Teachable Machine and runs on TensorFlow.js. The entire classification process happens in your browser, meaning your photos are never uploaded to any server. Your privacy is fully protected.

Two ways to classify:

The model outputs a confidence score for each category (dog and cat), displayed as visual progress bars so you can see exactly how certain the AI is about its prediction.

Tips for Best Results

Frequently Asked Questions

How does the AI classifier work?
The classifier uses a convolutional neural network trained with Google's Teachable Machine. The model runs entirely in your browser via TensorFlow.js, analyzing pixel data from images to determine whether the subject is a dog or cat.
Are my photos uploaded to a server?
No. All image processing happens locally in your browser using client-side machine learning. Your photos never leave your device, ensuring complete privacy.
What animals can it identify?
The current model is trained specifically to distinguish between dogs and cats. It may produce unpredictable results for other animals or non-animal images.
Does the webcam mode work on mobile?
Yes, webcam mode works on mobile devices that have a camera and support the browser getUserMedia API. Most modern mobile browsers support this feature.
How accurate is the classifier?
The model achieves high accuracy on clear images of dogs and cats. The confidence percentage displayed tells you how certain the AI is about its prediction. Well-lit, focused images yield the best results.
← Back to Main