{"id":29284874,"url":"https://github.com/naveenkumar48/imageclassification","last_synced_at":"2026-05-04T23:31:36.262Z","repository":{"id":302995844,"uuid":"1014085401","full_name":"Naveenkumar48/imageClassification","owner":"Naveenkumar48","description":"CNN-based image classifier for dogs and cats using TensorFlow and Keras, trained on the Kaggle dataset with automated preprocessing, training, and prediction.","archived":false,"fork":false,"pushed_at":"2025-07-05T04:11:34.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-05T04:24:05.110Z","etag":null,"topics":["cnn","computer-vision","deep-learning","keras","tensorflow"],"latest_commit_sha":null,"homepage":"https://www.kaggle.com/datasets/salader/dogs-vs-cats","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Naveenkumar48.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-05T03:05:24.000Z","updated_at":"2025-07-05T04:11:37.000Z","dependencies_parsed_at":"2025-07-05T04:24:07.799Z","dependency_job_id":"afd973ef-2a20-4990-b4f6-4dbff9334970","html_url":"https://github.com/Naveenkumar48/imageClassification","commit_stats":null,"previous_names":["naveenkumar48/imageclassification"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Naveenkumar48/imageClassification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naveenkumar48%2FimageClassification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naveenkumar48%2FimageClassification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naveenkumar48%2FimageClassification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naveenkumar48%2FimageClassification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Naveenkumar48","download_url":"https://codeload.github.com/Naveenkumar48/imageClassification/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naveenkumar48%2FimageClassification/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263813814,"owners_count":23515344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cnn","computer-vision","deep-learning","keras","tensorflow"],"created_at":"2025-07-05T22:01:57.883Z","updated_at":"2026-05-04T23:31:36.236Z","avatar_url":"https://github.com/Naveenkumar48.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐶🐱 Dog vs Cat Image Classifier using CNN\n\nA deep learning project to automatically classify images of dogs and cats using a Convolutional Neural Network (CNN) built with TensorFlow and Keras.\n\n---\n\n## Project Overview\n\nThis project demonstrates an end-to-end workflow of:\n\n- Downloading and preparing image data (from Kaggle).\n- Building and training a CNN for binary classification.\n- Evaluating performance with loss and accuracy metrics.\n- Predicting and visualizing the classification of new images.\n\n---\n\n##Key Features\n\n✅ Download dataset automatically via Kaggle API  \n✅ Preprocess and normalize images  \n✅ Build a custom CNN with multiple convolutional and dense layers  \n✅ Visualize training and validation metrics  \n✅ Predict on custom test images  \n\n---\n\n## Model Architecture\n\n- **Input:** 256x256 RGB images\n- **Layers:**\n  - 3 × Conv2D layers with ReLU activation\n  - MaxPooling and BatchNormalization after each Conv2D\n  - Flatten + Dense layers with Dropout regularization\n  - Sigmoid output for binary classification\n- **Optimizer:** Adam\n- **Loss Function:** Binary Crossentropy\n- **Metrics:** Accuracy\n\n---\n\n## 🛠️ Technologies Used\n\n- Python 3\n- TensorFlow\n- Keras\n- OpenCV\n- Matplotlib\n- Kaggle API\n- Jupyter Notebook / Google Colab\n\n\n## 📈 Training \u0026 Evaluation\n\nThe model is trained over **5 epochs** on the Kaggle \"Dogs vs Cats\" dataset.  \n\n### Sample Training Results:\n- **Training Accuracy:** ~85% (depending on epochs and dataset splits)\n- **Validation Accuracy:** ~80%\n\n### Loss and Accuracy Graphs:\n  \n![Accuracy](Accuracy_output.png)\n  \n![Loss](Loss_output.png)\n\n\n## 🖼️ Example Prediction\n\nTest image loaded with OpenCV:\n\n![Test Image](dog.jpg)\n\nModel output: **Dog**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaveenkumar48%2Fimageclassification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaveenkumar48%2Fimageclassification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaveenkumar48%2Fimageclassification/lists"}