{"id":21802547,"url":"https://github.com/qengineering/age-gender-opencv-raspberry-pi-4","last_synced_at":"2026-05-09T19:07:02.008Z","repository":{"id":112945628,"uuid":"361707035","full_name":"Qengineering/Age-Gender-OpenCV-Raspberry-Pi-4","owner":"Qengineering","description":"Age and Gender estimation on a Raspberry Pi 4 with OpenCV","archived":false,"fork":false,"pushed_at":"2022-03-22T12:29:30.000Z","size":1971,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T04:51:34.433Z","etag":null,"topics":["age-estimation","age-gender-estimation","deep-learning","face-detection","gender-classification","gender-estimation","gender-recognition","opencv","opencv-dnn","raspberry-pi-4","raspberry-pi-64-os"],"latest_commit_sha":null,"homepage":"https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Qengineering.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":"2021-04-26T10:21:53.000Z","updated_at":"2024-05-07T11:21:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"97493388-0a07-4480-b819-e8204bc47915","html_url":"https://github.com/Qengineering/Age-Gender-OpenCV-Raspberry-Pi-4","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Qengineering/Age-Gender-OpenCV-Raspberry-Pi-4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FAge-Gender-OpenCV-Raspberry-Pi-4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FAge-Gender-OpenCV-Raspberry-Pi-4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FAge-Gender-OpenCV-Raspberry-Pi-4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FAge-Gender-OpenCV-Raspberry-Pi-4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qengineering","download_url":"https://codeload.github.com/Qengineering/Age-Gender-OpenCV-Raspberry-Pi-4/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FAge-Gender-OpenCV-Raspberry-Pi-4/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32831536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["age-estimation","age-gender-estimation","deep-learning","face-detection","gender-classification","gender-estimation","gender-recognition","opencv","opencv-dnn","raspberry-pi-4","raspberry-pi-64-os"],"created_at":"2024-11-27T11:29:24.643Z","updated_at":"2026-05-09T19:07:01.983Z","avatar_url":"https://github.com/Qengineering.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Age Gender Raspberry Pi 4\n![output image]( https://qengineering.eu/images/AgeGender4.jpg )\n## Age and gender estimation with the OpenCV framework. \u003cbr/\u003e\n[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\u003cbr/\u003e\u003cbr/\u003e\nPaper: https://talhassner.github.io/home/publication/2015_CVPR\u003cbr/\u003e\u003cbr/\u003e\nSpecial made for a bare Raspberry Pi 4, see [Q-engineering deep learning examples](https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html)\n\n------------\n\n## Benchmark.\nRPi 4 64-OS 1950 MHz \u003cbr/\u003e\nFPS = 1/(0.2 * Faces + 0.157)\n\n------------\n\n## Dependencies.\nTo run the application, you have to:\n- A raspberry Pi 4 64-bit operating system. It can be the Raspberry 64-bit OS, or Ubuntu 18.04 / 20.04. [Install 64-bit OS](https://qengineering.eu/install-raspberry-64-os.html) \u003cbr/\u003e\n- OpenCV 64 bit installed. [Install OpenCV 4.5](https://qengineering.eu/install-opencv-4.5-on-raspberry-64-os.html) \u003cbr/\u003e\n- Code::Blocks installed. (```$ sudo apt-get install codeblocks```)\n\n------------\n\n## Installing the app.\nTo extract and run the network in Code::Blocks \u003cbr/\u003e\n$ mkdir *MyDir* \u003cbr/\u003e\n$ cd *MyDir* \u003cbr/\u003e\n$ wget https://github.com/Qengineering/Age-Gender-OpenCV-Raspberry-Pi-4/archive/refs/heads/main.zip \u003cbr/\u003e\n$ unzip -j master.zip \u003cbr/\u003e\nRemove master.zip, LICENSE and README.md as they are no longer needed. \u003cbr/\u003e \n$ rm master.zip \u003cbr/\u003e\n$ rm LICENSE \u003cbr/\u003e\n$ rm README.md \u003cbr/\u003e \u003cbr/\u003e\nYour *MyDir* folder must now look like this: \u003cbr/\u003e \nsample1.jpg \u003cbr/\u003e\nsample3.jpg \u003cbr/\u003e\nAgeGender.cpb \u003cbr/\u003e\nAgeGender.cpp \u003cbr/\u003e\nopencv_face_detector.pbtxt \u003cbr/\u003e\nopencv_face_detector_uint8.pb \u003cbr/\u003e\ngender_deploy.prototxt \u003cbr/\u003e\nage_deploy.prototxt \u003cbr/\u003e\u003cbr/\u003e\nDo **not forget** to download the caffe models!\n\n------------\n\n## Running the app.\nDownload [age_deploy.caffemodel](https://drive.google.com/file/d/1pNDFo7WBcf4fo5DefGEbM01TJP8_z5H5/view?usp=sharing) \u003cbr/\u003e\nDownload [gender_deploy.caffemodel](https://drive.google.com/file/d/1X8_2hTEUGculDA9gt_pIyTV31CNew8_b/view?usp=sharing) \u003cbr/\u003e\nTo run the application load the project file YoloV5.cbp in Code::Blocks.\u003cbr/\u003e \nNext, follow the instructions at [Hands-On](https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html#HandsOn).\u003cbr/\u003e\u003cbr/\u003e\nMany thanks to [GilLevi](https://github.com/GilLevi/AgeGenderDeepLearning) \u003cbr/\u003e\nTensorFlow implementation [dpressel](https://github.com/dpressel/rude-carnie)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqengineering%2Fage-gender-opencv-raspberry-pi-4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqengineering%2Fage-gender-opencv-raspberry-pi-4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqengineering%2Fage-gender-opencv-raspberry-pi-4/lists"}