{"id":26480566,"url":"https://github.com/codehub001/age-and-gender-detection","last_synced_at":"2026-04-15T15:34:03.473Z","repository":{"id":282817942,"uuid":"949749579","full_name":"codehub001/Age-and-Gender-Detection","owner":"codehub001","description":"This AI-powered project detects faces and predicts age \u0026 gender from images or video streams using OpenCV and deep learning. 🧠💡  🔹 Face Detection 👀 🔹 Gender Classification 🏷️ (Male/Female) 🔹 Age Estimation 📊 (from predefined age groups) 🔹 Live Video \u0026 Image Support 🎥🖼️","archived":false,"fork":false,"pushed_at":"2025-03-17T04:52:35.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T05:29:41.414Z","etag":null,"topics":["argparse","deep-learning","numpy","opencv","pretrained-model","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/codehub001.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}},"created_at":"2025-03-17T04:34:25.000Z","updated_at":"2025-03-17T04:54:46.000Z","dependencies_parsed_at":"2025-03-17T05:40:37.614Z","dependency_job_id":null,"html_url":"https://github.com/codehub001/Age-and-Gender-Detection","commit_stats":null,"previous_names":["codehub001/age-and-gender-detection"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehub001%2FAge-and-Gender-Detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehub001%2FAge-and-Gender-Detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehub001%2FAge-and-Gender-Detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehub001%2FAge-and-Gender-Detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codehub001","download_url":"https://codeload.github.com/codehub001/Age-and-Gender-Detection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244539176,"owners_count":20468856,"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":["argparse","deep-learning","numpy","opencv","pretrained-model","python"],"created_at":"2025-03-20T02:35:32.671Z","updated_at":"2026-04-15T15:34:03.465Z","avatar_url":"https://github.com/codehub001.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# 🧑‍🤖 Age and Gender Detection using OpenCV \u0026 Deep Learning\n\n## 🚀 Project Overview\nThis AI-powered project detects faces and predicts **age** \u0026 **gender** from images or video streams using OpenCV and deep learning. 🧠💡\n\n🔹 **Face Detection** 👀  \n🔹 **Gender Classification** 🏷️ (Male/Female)  \n🔹 **Age Estimation** 📊 (from predefined age groups)  \n🔹 **Live Video \u0026 Image Support** 🎥🖼️\n\n---\n\n## 🛠️ Tech Stack \u0026 Dependencies\n- **Python** 🐍\n- **OpenCV** 🎭\n- **Pre-trained Deep Learning Models** 🏗️\n- **NumPy** 🔢\n- **Argparse** 🏗️\n\n### 📌 Install Dependencies\n```bash\npip install opencv-python numpy argparse\n```\n\n---\n\n## 📥 Pre-trained Models Used \nThis project leverages state-of-the-art **deep learning models** for accurate predictions:\n\n📌 **Face Detection:** `opencv_face_detector.pbtxt` \u0026 `opencv_face_detector_uint8.pb`\n📌 **Age Prediction:** `age_deploy.prototxt` \u0026 `age_net.caffemodel`\n📌 **Gender Classification:** `gender_deploy.prototxt` \u0026 `gender_net.caffemodel`\n\nEnsure these files are in your working directory. 📂✅\n\n---\n\n## 🎯 How to Use\n\n### 🖼️ Run with an Image\n```bash\npython age_gender_detection.py --image path/to/image.jpg\n```\n\n### 🎥 Run with Live Webcam\n```bash\npython age_gender_detection.py\n```\n\n---\n\n## ⚙️ How It Works\n1️⃣ **Detect Faces** using OpenCV's deep learning module.  \n2️⃣ **Pre-process Images** for the model.  \n3️⃣ **Predict Gender \u0026 Age** using trained models.  \n4️⃣ **Overlay Results** on the image/video feed.  \n\n---\n\n## 📌 Example Output\n📝 The detected **age** and **gender** are displayed in the console and overlaid on the image.\n\n---\n\n## 📜 License\nThis project is open-source and available under the **MIT License**ok\n\n---\n\n## ✨ Author\n👤 Modassir Ali\n💼 My LinkedIn - https://www.linkedin.com/in/codehub01/\n\nEnjoy building with AI! 🚀🤖\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodehub001%2Fage-and-gender-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodehub001%2Fage-and-gender-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodehub001%2Fage-and-gender-detection/lists"}