{"id":13444125,"url":"https://github.com/armstrong1972/pySample-for-ShiqiYu","last_synced_at":"2025-03-20T18:30:25.844Z","repository":{"id":217874674,"uuid":"202630298","full_name":"armstrong1972/pySample-for-ShiqiYu","owner":"armstrong1972","description":"The DLL inferface \u0026 python sample code base on new version of libfacedetection （ https://github.com/ShiqiYu/libfacedetection ）by Shiqi.Yu.","archived":false,"fork":false,"pushed_at":"2019-10-10T03:23:32.000Z","size":3700,"stargazers_count":19,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-28T07:42:52.577Z","etag":null,"topics":["libfacedetection","python","shiqi"],"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/armstrong1972.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-08-16T00:32:25.000Z","updated_at":"2021-09-22T04:02:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"54daeb03-5574-4348-aeff-3890f07f5777","html_url":"https://github.com/armstrong1972/pySample-for-ShiqiYu","commit_stats":null,"previous_names":["armstrong1972/pysample-for-shiqiyu"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armstrong1972%2FpySample-for-ShiqiYu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armstrong1972%2FpySample-for-ShiqiYu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armstrong1972%2FpySample-for-ShiqiYu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armstrong1972%2FpySample-for-ShiqiYu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/armstrong1972","download_url":"https://codeload.github.com/armstrong1972/pySample-for-ShiqiYu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244669817,"owners_count":20490861,"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":["libfacedetection","python","shiqi"],"created_at":"2024-07-31T03:02:19.719Z","updated_at":"2025-03-20T18:30:25.839Z","avatar_url":"https://github.com/armstrong1972.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Update @ Oct 10 ，2019\nProfartssor Yu update new version. Change the mod from float to long. It's only 915K. すごい\u003cbr\u003e\n\"facedetectcnn-floatdata.cpp\" change to \"facedetectcnn-int8data.cpp\"\n\nSo , you have to change the C++ DLL project\"\n1) Open the fd-shiqiyu.sln\n2) Remove \"facedetectcnn-floatdata.cpp\"\n3) Copy all files(*.h and *.cpp) from https://github.com/ShiqiYu/libfacedetection/tree/master/src to your project\n4) Add \"facedetectcnn-int8data.cpp\" into the project\n4) Recompile the project to generate \"fd-shiqiyu_v2.dll\"\n\n-------------------------------------------------------\n\n# pySample-for-ShiqiYu\nThe DLL inferface \u0026amp; python sample code base on new version of libfacedetection （https://github.com/ShiqiYu/libfacedetection ）by Shiqi.Yu.\n\n于仕琪 老师新版本人脸识别（https://github.com/ShiqiYu/libfacedetection )的DLL接口及Python语言案例。\n\n\u003cb\u003eStep1 : Create a Dll for proivide an interface to python\u003c/b\u003e\n1) Create a C++ DLL project and named \"fd-shiqiyu\" in VS2017\n2) Copy all files(*.h and *.cpp) from https://github.com/ShiqiYu/libfacedetection/tree/master/src to your project\n3) Create the \"dll-interface.cpp\" to export the function\n4) Compile the project to generate \"fd-shiqiyu.dll\"\n\n\u003cb\u003e第一步：创建用于python接口的DLL\u003c/b\u003e\u003cbr\u003e\n1）VS2017中创建新 “C++ DLL”项目，名称为 “fd-shiqiyu”\u003cbr\u003e\n2）将 https://github.com/ShiqiYu/libfacedetection/tree/master/src 下所有文件复制到项目中\u003cbr\u003e\n3）新建 \"dll-interface.cpp\" ，提供DLL访问接口\u003cbr\u003e\n4）编译项目，生成 \"fd-shiqiyu.dll\"\u003cbr\u003e\n\n\u003cb\u003eStep2 : The sample code of Python call the DLL \u003c/b\u003e\n1) Copy the \"fd-shiqiyu.dll\" file to Dlls folder of python code's path\n2) Create the \"ex.py\" sample code file to call the Dll\n3）Run \"ex.py\" \n\n\u003cb\u003e第2步：Python 调用 Dll 案例代码\u003c/b\u003e\u003cbr\u003e\n1）拷贝 \"fd-shiqiyu.dll\" 文件到 Python 代码的 “Dlls” 子目录下\u003cbr\u003e\n2）新建 \"ex.py\" 案例代码\u003cbr\u003e\n3）运行 \"ex.py\"\u003cbr\u003e\n\n\n\u003cb\u003eThe diffrences between new version and old version of Shiqi.Yu's library.\u003c/b\u003e\n1) The new version can detect the any angle face, include upside-down face, the old version can't\n2) But the new version can't output the angle \u0026 68 landmark points of face now, the old version can do it\n\n\u003cb\u003e于老师新旧版本的比较\u003c/b\u003e\u003cbr\u003e\n1）新版本可以检测任何角度的脸，包括倒立的，旧版本不行\u003cbr\u003e\n2）但新版本现在还不能提供 角度 和 68关键点 参数，旧版本可以\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmstrong1972%2FpySample-for-ShiqiYu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmstrong1972%2FpySample-for-ShiqiYu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmstrong1972%2FpySample-for-ShiqiYu/lists"}