{"id":20621951,"url":"https://github.com/jennasys/facetrack","last_synced_at":"2025-04-15T12:18:48.922Z","repository":{"id":25150866,"uuid":"28573354","full_name":"JennaSys/facetrack","owner":"JennaSys","description":"OpenCV face tracking on the Rapsberry Pi using Python","archived":false,"fork":false,"pushed_at":"2018-08-19T23:30:46.000Z","size":261,"stargazers_count":20,"open_issues_count":2,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-15T12:18:32.390Z","etag":null,"topics":[],"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/JennaSys.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}},"created_at":"2014-12-28T22:46:10.000Z","updated_at":"2023-10-12T17:45:54.000Z","dependencies_parsed_at":"2022-08-23T22:10:06.267Z","dependency_job_id":null,"html_url":"https://github.com/JennaSys/facetrack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JennaSys%2Ffacetrack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JennaSys%2Ffacetrack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JennaSys%2Ffacetrack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JennaSys%2Ffacetrack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JennaSys","download_url":"https://codeload.github.com/JennaSys/facetrack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249067787,"owners_count":21207396,"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":[],"created_at":"2024-11-16T12:19:54.017Z","updated_at":"2025-04-15T12:18:48.873Z","avatar_url":"https://github.com/JennaSys.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"facetrack\n=========\n\nOpenCV face tracking on the Raspberry Pi using Python\n```\nsudo apt-get install python-opencv\n```\nBe sure to enable the camera on the Raspberry pi and add bcm2835-v4l2 to /etc/modules\n\nCore code borrowed from [Pan / Tilt face tracking with the raspberry pi](http://instructables.com/id/Pan-Tilt-face-tracking-with-the-raspberry-pi \"instructables\")\n\nIf not preinstalled with Raspbian, you can use the following to install the PIGPIO library:\n```\nwget abyz.co.uk/rpi/pigpio/pigpio.zip\nunzip pigpio.zip\ncd PIGPIO\nmake\nsudo make install\n\n#setup pigpiod to auto load by adding a line to crontab\nsudo crontab -e\n@reboot  /usr/local/bin/pigpiod\n```\n\n\nPIGPIO docs are [here](http://abyz.me.uk/rpi/pigpio/python.html) if you need them.\n\n\nAdditional Info\n---------------\nI replaced the calls to ServoBlaster with ~~RPIO~~ PIGPIO just to keep everything a little more in the Python realm codewise.  The RPIO library has had a history of not keeping up with hardware updates so I switched over to pigpio which is now included as part of the default raspian installation.\n\nRPi.GPIO doesn't work for this project because it's implementation of PWM is software based, and the resulting signal is too erratic to control the servos smoothly enough for OpenCV tracking.  RPIO (and ServoBlaster) uses DMA and while not a full hardware implementation, it removes enough servo jitter to be usable.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjennasys%2Ffacetrack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjennasys%2Ffacetrack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjennasys%2Ffacetrack/lists"}