{"id":20358468,"url":"https://github.com/pkmandke/ros-face-detection","last_synced_at":"2025-03-04T17:49:20.041Z","repository":{"id":106712053,"uuid":"189233962","full_name":"pkmandke/ros-face-detection","owner":"pkmandke","description":"Face Detection using dlib and ROS","archived":false,"fork":false,"pushed_at":"2022-11-01T05:49:06.000Z","size":1180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-15T01:44:56.699Z","etag":null,"topics":["dlib-face-detection","ros-kinetic"],"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/pkmandke.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":"2019-05-29T13:44:44.000Z","updated_at":"2022-11-01T05:50:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"89449551-3ba1-4bea-88ae-14269560a4e9","html_url":"https://github.com/pkmandke/ros-face-detection","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/pkmandke%2Fros-face-detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkmandke%2Fros-face-detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkmandke%2Fros-face-detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkmandke%2Fros-face-detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkmandke","download_url":"https://codeload.github.com/pkmandke/ros-face-detection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241895408,"owners_count":20038512,"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":["dlib-face-detection","ros-kinetic"],"created_at":"2024-11-14T23:27:10.150Z","updated_at":"2025-03-04T17:49:20.006Z","avatar_url":"https://github.com/pkmandke.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Face detection in ROS\n\nFace Detection using ROS pub/sub.\n\n## ROS Face detector\n\nThe package samples images from the webcam and displays a bounding box after detecting the largest face in the frame using [dlib](https://pypi.org/project/dlib/). The code for face detection is inspired by [OpenFace](https://github.com/cmusatyalab/openface).\n\n## TODO\n\n* [x] Add actionlib\n* [x] Add launch file (with if syntax)\n* [x] Reduce effect of face detect delay\n\n### Details\n\n**Update: 30/05/2019**\n\nThree nodes:\n\n1. Image capture and publish. [Source](https://github.com/pkmandke/ros-face-detection/blob/master/src/img_pub_node.py)\n2. Subscribe and plot image. Also, send the image as a (action) goal for face detection. The lag problem is solved by plotting irrespective of whether face co-ordinates are received so that only the face rectangle faces a lag. [Source](https://github.com/pkmandke/ros-face-detection/blob/master/src/face_plot_client.py)\n3. The Face detection server. Processes requests and sends back face co-ordinates as results.[Source](https://github.com/pkmandke/ros-face-detection/blob/master/src/detect_action_server.py)\n\nOther updates:\n\n* [x] Object oriented API for actionlib and pub/sub.\n* [x] Helper [scripts](https://github.com/pkmandke/ros-face-detection/tree/master/scripts).\n\n## Snapshots\n\nUsing actionlib\n\n![Face Detect](https://github.com/pkmandke/ros-face-detection/blob/master/snaps/launch_file_output.png)\n\n* Old Service based\n\nThere are 3 nodes. 2 of them are a publish-subscribe pair that transfer np.array images using floats. The subscriber node then calls a service(server) node which returns the face co-ordinates if found. These co-ordinates are used by the subscriber node to draw the bounding box.\n\nSnapshot are in the snaps folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkmandke%2Fros-face-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkmandke%2Fros-face-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkmandke%2Fros-face-detection/lists"}