{"id":32701254,"url":"https://github.com/zolppy/celebrity-face-recognition","last_synced_at":"2026-04-11T09:05:04.860Z","repository":{"id":311079967,"uuid":"1042397452","full_name":"zolppy/celebrity-face-recognition","owner":"zolppy","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-22T01:24:22.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-22T02:35:37.226Z","etag":null,"topics":["cnn","computer-vision","deep-learning","face-detection","kaggle","keras","machine-learning","object-classification","opencv","python","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zolppy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08-22T00:40:04.000Z","updated_at":"2025-08-22T01:24:25.000Z","dependencies_parsed_at":"2025-08-22T16:15:51.145Z","dependency_job_id":null,"html_url":"https://github.com/zolppy/celebrity-face-recognition","commit_stats":null,"previous_names":["zolppy/face-recognition"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/zolppy/celebrity-face-recognition","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolppy%2Fcelebrity-face-recognition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolppy%2Fcelebrity-face-recognition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolppy%2Fcelebrity-face-recognition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolppy%2Fcelebrity-face-recognition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zolppy","download_url":"https://codeload.github.com/zolppy/celebrity-face-recognition/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zolppy%2Fcelebrity-face-recognition/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31674624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cnn","computer-vision","deep-learning","face-detection","kaggle","keras","machine-learning","object-classification","opencv","python","tensorflow"],"created_at":"2025-11-01T23:01:36.640Z","updated_at":"2026-04-11T09:05:04.854Z","avatar_url":"https://github.com/zolppy.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Celebrity Face Recognition\n\nCelebrity face recognition system built using deep learning. It leverages a Convolutional Neural Network to identify individuals from a dataset of celebrity images. The system first pre-processes the image data, trains the model, and then uses a Haar Cascade classifier to detect faces in new images. Finally, it uses the trained model to predict and display the identity of the detected celebrity.\n\n---\n\n## 📂 Project Structure\n\n├── main.ipynb # Jupyter Notebook with code, training, and evaluation\n\n├── README.md # Project documentation\n\n\n---\n\n## 📊 Dataset\n\nThe dataset is downloaded using [`kagglehub`](https://pypi.org/project/kagglehub/).  \nIt contains labeled images across multiple categories. Images are preprocessed using **OpenCV** and split into training and testing sets.\n\n---\n\n## 🧠 Model Architecture\n\nThe CNN is implemented using **TensorFlow/Keras** with the following structure:\n\n- **Conv2D** + **MaxPooling2D** layers for feature extraction  \n- **Flatten** layer to convert feature maps into vectors  \n- **Dense layers** with ReLU activations  \n- **Softmax output layer** for classification  \n\nThe model is compiled with:\n\n- Optimizer: `Adam`  \n- Loss: `categorical_crossentropy`  \n- Metrics: `accuracy`\n\n---\n\n## ⚙️ Installation\n\nClone this repository and install the dependencies:\n\n```bash\ngit clone https://github.com/yourusername/celebrity-face-recognition.git\ncd celebrity-face-recognition\npip install -r requirements.txt\n```\n\n## Requirements\n- Python 3.8+\n- TensorFlow\n- Keras\n- OpenCV\n- NumPy\n- Matplotlib\n- scikit-learn\n- kagglehub\n\nYou can install them manually with:\n\n```bash\npip install tensorflow keras opencv-python numpy matplotlib scikit-learn kagglehub\n```\n\n---\n\n## 🚀 Usage\n\nRun the notebook step by step:\n\n```\njupyter notebook main.ipynb\n```\n\nThe notebook includes:\n\n- Dataset download \u0026 preprocessing\n- Model training\n- Evaluation \u0026 accuracy results\n- Visualization of sample predictions\n\n---\n\n## 📈 Results\nThe model achieves competitive accuracy on the test dataset.\nExample prediction visualization:\n- Input image shown with label\n- Model prediction displayed with confidence\n(See `main.ipynb` for detailed plots and accuracy results.)\n\n---\n\n## 📌 Future Work\n- Improve performance with data augmentation\n- Experiment with deeper CNN architectures\n- Deploy the trained model with a web interface\n\n---\n\n## 🤝 Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you’d like to modify.\n\n---\n\n## 📜 License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzolppy%2Fcelebrity-face-recognition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzolppy%2Fcelebrity-face-recognition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzolppy%2Fcelebrity-face-recognition/lists"}