{"id":23692418,"url":"https://github.com/sumanthgubbala/dog-vs-cat-classification","last_synced_at":"2026-04-16T19:45:47.925Z","repository":{"id":269989844,"uuid":"909060148","full_name":"sumanthgubbala/Dog-vs-cat-classification","owner":"sumanthgubbala","description":"Dog vs Cat Classification using Transfer Learning","archived":false,"fork":false,"pushed_at":"2024-12-27T18:42:19.000Z","size":13616,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-20T00:43:23.250Z","etag":null,"topics":["deep-neural-networks","dog-vs-cat-classification","flask","tensorflow","tensorflowhu","transfer-learning"],"latest_commit_sha":null,"homepage":"https://dog-vs-cat-classification.onrender.com/","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/sumanthgubbala.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}},"created_at":"2024-12-27T16:38:29.000Z","updated_at":"2024-12-28T17:50:51.000Z","dependencies_parsed_at":"2024-12-27T17:44:02.301Z","dependency_job_id":null,"html_url":"https://github.com/sumanthgubbala/Dog-vs-cat-classification","commit_stats":null,"previous_names":["sumanthgubbala/dog-vs-cat-classification"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanthgubbala%2FDog-vs-cat-classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanthgubbala%2FDog-vs-cat-classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanthgubbala%2FDog-vs-cat-classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumanthgubbala%2FDog-vs-cat-classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumanthgubbala","download_url":"https://codeload.github.com/sumanthgubbala/Dog-vs-cat-classification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239758829,"owners_count":19692033,"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":["deep-neural-networks","dog-vs-cat-classification","flask","tensorflow","tensorflowhu","transfer-learning"],"created_at":"2024-12-30T03:27:37.123Z","updated_at":"2026-04-16T19:45:47.881Z","avatar_url":"https://github.com/sumanthgubbala.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dog vs Cat Classification\nThis is a simple web application built with Flask, TensorFlow, and OpenCV to classify images as either a dog or a cat. The model used for classification is a Convolutional Neural Network (CNN) trained on a dog vs cat dataset.\n\n## Vist here\n - https://dog-vs-cat-classification.onrender.com/\n\n## Features\n- Upload an image (PNG, JPG, or JPEG format) of a dog or a cat.\n- The model classifies the image as either \"Dog\" or \"Cat\".\n- Flask-based web interface for user interaction.\n### Tech Stack\n- Backend: Flask (Python web framework)\n- Machine Learning: TensorFlow, Keras\n- Image Processing: OpenCV\n- Deployment: Heroku (or any other preferred platform)\n## Prerequisites\nBefore running the application, make sure you have the following installed:\n\n- Python 3.7+\n- pip (Python package installer)\n## Installation\nFollow these steps to run the project on your local machine:\n\n1. Clone the repository:\n  - [git clone https://github.com/your-username/dog-vs-cat-classification.git](https://github.com/sumanthgubbala/Dog-vs-cat-classification.git)\n\n2. Navigate to the project directory:\n - cd dog-vs-cat-classification\n3. Create and activate a virtual environment (optional but recommended):\n - On Windows:\n    - python -m venv venv\n    - .\\venv\\Scripts\\activate\n- On macOS/Linux:\n    - python -m venv venv\n    - source venv/bin/activate\n4. Install the required dependencies:\n    - pip install -r requirements.txt\n## Running the Application\nTo run the app locally, use the following command:\n   - python app.py\n   - Visit http://127.0.0.1:5000 in your browser to interact with the application.\n\n## How to Use\n1. Open the application in your web browser.\n2. Upload an image of a dog or a cat.\n3. The model will process the image and display whether the image is a \"Dog\" or \"Cat\".\n## Model Training\nThe model used for classification is a pre-trained Keras model (dog_vs_cat_classification.h5). If you want to retrain the model, follow these steps:\n\n1. Gather a dataset of dog and cat images.\n2. Preprocess the images (resize to 224x224 and normalize).\n3. Train a Convolutional Neural Network (CNN) on the dataset using Keras/TensorFlow.\n4. Save the model as dog_vs_cat_classification.h5 and place it in the project directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumanthgubbala%2Fdog-vs-cat-classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumanthgubbala%2Fdog-vs-cat-classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumanthgubbala%2Fdog-vs-cat-classification/lists"}