{"id":24181680,"url":"https://github.com/chenriwei/facetools","last_synced_at":"2025-04-07T13:06:37.414Z","repository":{"id":101424759,"uuid":"44653834","full_name":"chenriwei/FaceTools","owner":"chenriwei","description":"一键人脸归一化处理工具，包括人脸检测，人脸关键点检测，基于关键点的人脸对齐","archived":false,"fork":false,"pushed_at":"2016-03-11T01:37:47.000Z","size":13577,"stargazers_count":298,"open_issues_count":10,"forks_count":151,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-07T13:06:31.544Z","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/chenriwei.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}},"created_at":"2015-10-21T05:04:36.000Z","updated_at":"2025-03-26T04:19:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"8c2168d4-71a7-4ef7-85f1-01658dd172e0","html_url":"https://github.com/chenriwei/FaceTools","commit_stats":null,"previous_names":["chenriwei/facetools"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenriwei%2FFaceTools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenriwei%2FFaceTools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenriwei%2FFaceTools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenriwei%2FFaceTools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenriwei","download_url":"https://codeload.github.com/chenriwei/FaceTools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657281,"owners_count":20974345,"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":"2025-01-13T07:08:41.462Z","updated_at":"2025-04-07T13:06:37.391Z","avatar_url":"https://github.com/chenriwei.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FaceTools\n功能：一键人脸预处理工具，适用于在人脸识别，人脸表情识别，人脸分析等基于人脸的工作中，归一化人脸数据使用\n\n##具有：\n1、人脸检测\n2、人脸关键点检测\n3、人脸对齐\n这三个预处理操作\n\n##使用方法：\n\n由于是调用在windows下的.exe 二进制软件， 所以本工具仅限于在Windows下执行。\n\n参照main.py中，\n指定需要预处理的图像文件夹、检测到的人脸图像的保存文件夹、对齐后的图像人脸文件夹路径等系列参数，调用test()函数即可。\n\n使用实例：\n\n```\nif __name__ == \"__main__\" :\n    '''\n    @param: 提供的参数：1，图像的文件名位置，2，需要保留的文件位置，3，图像的格式列表\n    '''\n    ImagePath=r'D:\\Test\\Val' #原始的图像路径\n    savePathDetect=r'D:\\Test\\Val_detect'#保存中间检测到的图像的路径\n    savePathAligned=r'D:\\Test\\Val_aligned'#对齐后的人脸图像的保存路径\n    test(ImagePath,savePathDetect,savePathAligned,tag_recover=True,savesize=[128,128])\n```\n其中，tag_recover 参数在人脸图像中人脸大小相差比较大的时候使用，如果人脸图像大小大致已经是抠出来的并且大小已经相同，就没有必要在设置这个参数了。\n\n\n常见问题：\n========\n1，无法生成result.bin ?\n解决：检查路径名称上是否有空格。\n\n\n欢迎提出改进意见。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenriwei%2Ffacetools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenriwei%2Ffacetools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenriwei%2Ffacetools/lists"}