{"id":15591312,"url":"https://github.com/octonawish-akcodes/facialtraitanalyzer","last_synced_at":"2026-05-07T01:12:31.637Z","repository":{"id":214726992,"uuid":"737217794","full_name":"octonawish-akcodes/FacialTraitAnalyzer","owner":"octonawish-akcodes","description":"Containerized Django web application that performs age and gender detection on uploaded images using OpenCV and ML.","archived":false,"fork":false,"pushed_at":"2024-01-11T17:14:35.000Z","size":86594,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-06T06:44:47.577Z","etag":null,"topics":["age-detection","containerization","django-project","docker","docker-compose","face-detection","gender-detection","opencv-python"],"latest_commit_sha":null,"homepage":"","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/octonawish-akcodes.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":"2023-12-30T08:12:31.000Z","updated_at":"2025-08-28T17:24:45.000Z","dependencies_parsed_at":"2024-01-11T21:18:55.368Z","dependency_job_id":null,"html_url":"https://github.com/octonawish-akcodes/FacialTraitAnalyzer","commit_stats":null,"previous_names":["octonawish-akcodes/facialtraitanalyzer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/octonawish-akcodes/FacialTraitAnalyzer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octonawish-akcodes%2FFacialTraitAnalyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octonawish-akcodes%2FFacialTraitAnalyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octonawish-akcodes%2FFacialTraitAnalyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octonawish-akcodes%2FFacialTraitAnalyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octonawish-akcodes","download_url":"https://codeload.github.com/octonawish-akcodes/FacialTraitAnalyzer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octonawish-akcodes%2FFacialTraitAnalyzer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32718451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T00:29:05.620Z","status":"ssl_error","status_checked_at":"2026-05-07T00:28:57.074Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["age-detection","containerization","django-project","docker","docker-compose","face-detection","gender-detection","opencv-python"],"created_at":"2024-10-02T23:40:56.169Z","updated_at":"2026-05-07T01:12:31.612Z","avatar_url":"https://github.com/octonawish-akcodes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FacialTraitAnalyzer (Age and Gender Detection Web App) 👦👩🔍\n\n## Overview:\nFaceTraitsAnalyzer is a Django web application designed for age and gender detection in images. Leveraging the power of OpenCV and pre-trained models, this application allows users to upload images and receive real-time analysis of facial features. This is a Django web application that performs age and gender detection on uploaded images using OpenCV and pre-trained models.\n\n## Key Features:\n\n- **Age Detection:** Accurately estimates the age range of individuals in uploaded images. 🎂\n- **Gender Detection:** Identifies the gender of faces with high precision. ♂️♀️\n- **User-Friendly Interface:** Intuitive web interface for seamless image upload and result presentation. 🌐\n- **Visual Insights:** Presents detection results overlaid on the uploaded images for a comprehensive analysis. 📊\n\n![image](https://github.com/octonawish-akcodes/FacialTraitAnalyzer/assets/76171953/48156218-fcb4-4914-9d45-ad5fbdf6b92e)\n\n![Screenshot 2023-12-30 132324](https://github.com/octonawish-akcodes/FacialTraitAnalyzer/assets/76171953/3003e559-9b7a-44ed-9e47-0e760e9e6f5e)\n\n## Project Structure 📂\n\n```plaintext\n.\n├── Dockerfile\n├── README.md\n├── age_gender_detection_app\n│   ├── __init__.py\n│   ├── __pycache__\n│   │   ├── __init__.cpython-310.pyc\n│   │   ├── admin.cpython-310.pyc\n│   │   ├── apps.cpython-310.pyc\n│   │   ├── forms.cpython-310.pyc\n│   │   ├── models.cpython-310.pyc\n│   │   ├── urls.cpython-310.pyc\n│   │   └── views.cpython-310.pyc\n│   ├── admin.py\n│   ├── age_deploy.prototxt\n│   ├── age_net.caffemodel\n│   ├── apps.py\n│   ├── forms.py\n│   ├── gender_deploy.prototxt\n│   ├── gender_net.caffemodel\n│   ├── migrations\n│   │   ├── 0001_initial.py\n│   │   ├── __init__.py\n│   │   └── __pycache__\n│   │       ├── 0001_initial.cpython-310.pyc\n│   │       └── __init__.cpython-310.pyc\n│   ├── models.py\n│   ├── opencv_face_detector.pbtxt\n│   ├── opencv_face_detector_uint8.pb\n│   ├── templates\n│   │   ├── result.html\n│   │   └── upload_image.html\n│   ├── tests.py\n│   ├── urls.py\n│   └── views.py\n├── age_gender_detection_project\n│   ├── __init__.py\n│   ├── __pycache__\n│   │   ├── __init__.cpython-310.pyc\n│   │   ├── settings.cpython-310.pyc\n│   │   ├── urls.cpython-310.pyc\n│   │   └── wsgi.cpython-310.pyc\n│   ├── asgi.py\n│   ├── settings.py\n│   ├── urls.py\n│   └── wsgi.py\n├── compose.yaml\n├── db.sqlite3\n├── manage.py\n├── media\n│   └── uploads\n│       ├── 1487718277-screen-shot-2017-02-21-at-60424-pm.png\n│       ├── Screenshot_2023-12-26_204504.png\n│       ├── istockphoto-1147066751-612x612_h4qn96t.jpg\n│       └── result.png\n└── requirements.txt\n```\n\n## Prerequisites 🛠️\n\n- Python 3\n- Django\n- OpenCV\n\n## Getting Started 🚀\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/octonawish-akcodes/FacialTraitAnalyzer.git\n   ```\n\n2. **Install the required dependencies:**\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. **Apply migrations:**\n\n   ```bash\n   python manage.py migrate\n   ```\n\n4. **Run the development server:**\n\n   ```bash\n   python manage.py runserver\n   ```\n\n   The app should be accessible at [http://127.0.0.1:8000/age_gender/](http://127.0.0.1:8000/age_gender/).\n   \u003e My 8000 port was busy so I used 8001.\n\n## Docker Usage Section 🐳\n\n1. **Pull the Docker image from Docker Hub:**\n\n   ```bash\n   docker pull abhidocker12/age_gender_detection:latest\n   ```\n\n2. **Run the Docker container:**\n\n   ```bash\n   docker run -p 8000:8000 abhidocker12/age_gender_detection:latest\n   ```\n\n   Access the Django application in your web browser at http://localhost:8000/age_gender/upload/.\n\n## Usage 🖼️\n\n1. **Visit [http://127.0.0.1:8000/age_gender/upload/](http://127.0.0.1:8000/age_gender/upload/) in your web browser.**\n\n2. **Upload an image using the provided form.**\n\n3. **Click \"Submit\" to perform age and gender detection.**\n\n4. **View the detection result, including the detected image, gender, and age.**\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctonawish-akcodes%2Ffacialtraitanalyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctonawish-akcodes%2Ffacialtraitanalyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctonawish-akcodes%2Ffacialtraitanalyzer/lists"}