{"id":21560647,"url":"https://github.com/armanx200/animal-detector","last_synced_at":"2025-08-29T06:15:05.222Z","repository":{"id":242059003,"uuid":"808525475","full_name":"Armanx200/Animal-Detector","owner":"Armanx200","description":"🐾 Training a machine learning model to recognize 15 different animal classes and classify images accordingly.","archived":false,"fork":false,"pushed_at":"2024-09-30T20:51:27.000Z","size":36770,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-14T10:21:55.667Z","etag":null,"topics":["animal-classification","arman-kianian","artificial-intelligence","classification","cnns","computer-vision","convolutional-neural-networks","data-preprocessing","data-science","deep-learning","github","image-processing","image-recognition","keras","machine-learning","model-training","neural-networks","open-source","python","tensorflow"],"latest_commit_sha":null,"homepage":"https://github.com/Armanx200","language":"Python","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/Armanx200.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":"2024-05-31T08:51:24.000Z","updated_at":"2025-06-03T00:21:57.000Z","dependencies_parsed_at":"2025-04-30T13:12:55.978Z","dependency_job_id":"902e0fab-01dc-4b66-ad11-493c66426ff9","html_url":"https://github.com/Armanx200/Animal-Detector","commit_stats":null,"previous_names":["armanx200/animal-detector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Armanx200/Animal-Detector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FAnimal-Detector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FAnimal-Detector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FAnimal-Detector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FAnimal-Detector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Armanx200","download_url":"https://codeload.github.com/Armanx200/Animal-Detector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Armanx200%2FAnimal-Detector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272640859,"owners_count":24968764,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["animal-classification","arman-kianian","artificial-intelligence","classification","cnns","computer-vision","convolutional-neural-networks","data-preprocessing","data-science","deep-learning","github","image-processing","image-recognition","keras","machine-learning","model-training","neural-networks","open-source","python","tensorflow"],"created_at":"2024-11-24T09:16:38.553Z","updated_at":"2025-08-29T06:15:05.193Z","avatar_url":"https://github.com/Armanx200.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"```markdown\n# 🐾 Animal Detector 🐾\n\nWelcome to the Animal Detector project! This repository contains code and resources for training a machine learning model to recognize 15 different animal classes and classify images accordingly. \n\n## 🦁 About the Project\n\nThis project uses a Convolutional Neural Network (CNN) to identify the following animals:\n- Bear\n- Bird\n- Cat\n- Cow\n- Deer\n- Dog\n- Dolphin\n- Elephant\n- Giraffe\n- Horse\n- Kangaroo\n- Lion\n- Panda\n- Tiger\n- Zebra\n\nThe model is trained on images stored in the `animal_data` directory, and can classify new images provided by the user.\n\n## 📁 Project Structure\n\n\nAnimal-Detector/\n├── animal_data/\n│   ├── Bear/\n│   ├── Bird/\n│   ├── Cat/\n│   └── ... (other animal folders)\n├── Animal-Detector.py\n├── Animal-Detector-model.py\n├── bear-1.jpg\n├── README.md\n└── requirements.txt\n\n\n- `animal_data/`: Contains subdirectories for each animal class with training images.\n- `Animal-Detector.py`: Script to classify a new image.\n- `Animal-Detector-model.py`: Script to train and save the model.\n- `bear-1.jpg`: Sample image for testing.\n- `README.md`: Project documentation.\n- `requirements.txt`: List of required Python packages.\n\n## 🚀 Getting Started\n\n### Prerequisites\n\nEnsure you have Python installed along with the necessary packages:\n```sh\npip install -r requirements.txt\n```\n\n### Training the Model\n\nTo train the model, run:\n```sh\npython Animal-Detector-model.py\n```\n\nThis will train the CNN on the images in `animal_data/` and save the trained model as `animal_classifier_model.h5`.\n\n### Classifying Images\n\nTo classify a new image, use:\n```sh\npython Animal-Detector.py path_to_your_image.jpg\n```\n\nReplace `path_to_your_image.jpg` with the path to the image you want to classify. The script will output the predicted animal class and confidence level.\n\n## 🐍 Example Usage\n\nHere's an example of how to use the classifier with the provided `bear-1.jpg` image:\n\n```sh\npython Animal-Detector.py bear-1.jpg\n```\n\n### Sample Output\n```\nThis image is a Bear with 98.76% confidence.\n```\n\n## 📜 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🙌 Acknowledgements\n\n- Inspired by the need to classify and detect animals using machine learning.\n- Thanks to the TensorFlow and Keras communities for their excellent resources and support.\n\n## 🤝 Contributing\n\nFeel free to fork this repository and make improvements. Pull requests are welcome!\n\n---\n\n🔗 **Author**: [Armanx200](https://github.com/Armanx200)\n```\n\nThis README includes emojis, a clear structure, and detailed instructions to make the project easy to understand and use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmanx200%2Fanimal-detector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmanx200%2Fanimal-detector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmanx200%2Fanimal-detector/lists"}