{"id":13443928,"url":"https://github.com/yxlijun/S3FD.pytorch","last_synced_at":"2025-03-20T17:32:27.542Z","repository":{"id":40063967,"uuid":"159029902","full_name":"yxlijun/S3FD.pytorch","owner":"yxlijun","description":"SFD implement with pytorch","archived":false,"fork":false,"pushed_at":"2019-01-02T10:49:12.000Z","size":15134,"stargazers_count":274,"open_issues_count":23,"forks_count":58,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-28T07:41:51.915Z","etag":null,"topics":["face-detection","hand-detection","head-detection","sfd","vgg16"],"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/yxlijun.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":"2018-11-25T12:35:56.000Z","updated_at":"2024-10-22T06:27:42.000Z","dependencies_parsed_at":"2022-07-27T18:04:12.038Z","dependency_job_id":null,"html_url":"https://github.com/yxlijun/S3FD.pytorch","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/yxlijun%2FS3FD.pytorch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yxlijun%2FS3FD.pytorch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yxlijun%2FS3FD.pytorch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yxlijun%2FS3FD.pytorch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yxlijun","download_url":"https://codeload.github.com/yxlijun/S3FD.pytorch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244660698,"owners_count":20489381,"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":["face-detection","hand-detection","head-detection","sfd","vgg16"],"created_at":"2024-07-31T03:02:14.149Z","updated_at":"2025-03-20T17:32:22.535Z","avatar_url":"https://github.com/yxlijun.png","language":"Python","funding_links":[],"categories":["Python"],"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 0.3 \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\n4 ``` python prepare_handataset.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 train.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/yxlijun/S3FD.pytorch/blob/master/img/AFW.png\" height=\"200px\" alt=\"afw\" \u003e\r\n\u003cimg src=\"https://github.com/yxlijun/S3FD.pytorch/blob/master/img/pascal.png\" height=\"200px\" alt=\"pascal\" \u003e\r\n\u003cimg src=\"https://github.com/yxlijun/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/yxlijun/S3FD.pytorch/blob/master/tmp/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%2Fyxlijun%2FS3FD.pytorch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyxlijun%2FS3FD.pytorch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyxlijun%2FS3FD.pytorch/lists"}