{"id":16271701,"url":"https://github.com/jianzhnie/s3fd_pytorch","last_synced_at":"2025-09-06T13:32:16.571Z","repository":{"id":103458080,"uuid":"222392653","full_name":"jianzhnie/S3FD_pytorch","owner":"jianzhnie","description":"pytorch 实现的S3FD，对原来的代码进行了优化，更简洁高效","archived":false,"fork":false,"pushed_at":"2021-10-14T13:17:03.000Z","size":78612,"stargazers_count":8,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T07:51:23.086Z","etag":null,"topics":["facedetection","s3fd","ssd"],"latest_commit_sha":null,"homepage":null,"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/jianzhnie.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-11-18T07:55:15.000Z","updated_at":"2025-04-01T03:55:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"3bea85f8-af2c-4424-a719-ab47d1cd595b","html_url":"https://github.com/jianzhnie/S3FD_pytorch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jianzhnie/S3FD_pytorch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jianzhnie%2FS3FD_pytorch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jianzhnie%2FS3FD_pytorch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jianzhnie%2FS3FD_pytorch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jianzhnie%2FS3FD_pytorch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jianzhnie","download_url":"https://codeload.github.com/jianzhnie/S3FD_pytorch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jianzhnie%2FS3FD_pytorch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273912512,"owners_count":25189969,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"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":["facedetection","s3fd","ssd"],"created_at":"2024-10-10T18:14:29.841Z","updated_at":"2025-09-06T13:32:11.532Z","avatar_url":"https://github.com/jianzhnie.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## S³FD: Single Shot Scale-invariant Face Detector ##\r\nA PyTorch Implementation of Single Shot Scale-invariant Face Detector\r\n\r\n### Description\r\nMeanwhile train hand and head with S3FD,hand dataset is [Egohands Dataset](http://vision.soic.indiana.edu/projects/egohands/),head dataset is [SCUT-HEAD](https://github.com/HCIILAB/SCUT-HEAD-Dataset-Release),we can download [hand model](https://pan.baidu.com/s/1_d4HqioBJknGj2ypwtYaXg) and [face model](https://pan.baidu.com/s/1epyTAUc6qSt3oZ7veK4oEw)\r\n\r\n### Requirement\r\n* pytorch 1.3.0\r\n* opencv \r\n* numpy \r\n* easydict\r\n\r\n### Prepare data \r\n1. download WIDER face dataset、Egohands dataset and SCUT-HEAD\r\n2. modify data/config.py \r\n3. ``` python prepare_wider_data.py ```\r\n\r\n\r\n### Train\r\nWe can choose different dataset to train different target[face,head,hand] \r\n``` \r\npython main.py --batch_size 4 --dataset face\\hand\\head\r\n``` \r\n\r\n### Evalution\r\naccording to yourself dataset path,modify data/config.py \r\n1. Evaluate on AFW.\r\n```\r\npython afw_test.py\r\n```\r\n2. Evaluate on FDDB \r\n```\r\npython fddb_test.py\r\n```\r\n3. Evaluate on PASCAL  face \r\n``` \r\npython pascal_test.py\r\n```\r\n4. test on WIDER FACE \r\n```\r\npython wider_test.py\r\n```\r\n### Demo \r\nyou can test yourself image\r\n```\r\npython demo.py\r\n```\r\n\r\n### Result\r\n1. AFW PASCAL FDDB\r\n\u003cdiv align=\"center\"\u003e\r\n\u003cimg src=\"https://github.com/jianzhnie/S3FD_pytorch/blob/master/img/AFW.png\" height=\"200px\" alt=\"afw\" \u003e\r\n\u003cimg src=\"https://github.com/jianzhnie/S3FD_pytorch/blob/master/img/pascal.png\" height=\"200px\" alt=\"pascal\" \u003e\r\n\u003cimg src=\"https://github.com/jianzhnie/S3FD_pytorch/blob/master/img/FDDB.png\" height=\"200px\" alt=\"fddb\" \u003e     \r\n\u003c/div\u003e\r\n\r\n\tAFW AP=99.81 paper=99.85 \r\n\tPASCAL AP=98.77 paper=98.49\r\n\tFDDB AP=0.975 paper=0.983\r\n\tWIDER FACE:\r\n\tEasy AP=0.925 paper = 0.927\r\n\tMedium AP=0.925 paper = 0.924\r\n\tHard AP=0.854 paper = 0.852\r\n\r\n2. demo\r\n\u003cdiv align=\"center\"\u003e\r\n\u003cimg src=\"https://github.com/jianzhnie/S3FD_pytorch/blob/master/img/test2.jpg\" height=\"400px\" alt=\"afw\" \u003e\r\n\u003c/div\u003e\r\n\r\n\r\n### References\r\n* [S³FD: Single Shot Scale-invariant Face Detector](https://arxiv.org/abs/1708.05237)\r\n* [ssd.pytorch](https://github.com/amdegroot/ssd.pytorch)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjianzhnie%2Fs3fd_pytorch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjianzhnie%2Fs3fd_pytorch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjianzhnie%2Fs3fd_pytorch/lists"}