{"id":24785894,"url":"https://github.com/civilnet/syszux-face","last_synced_at":"2025-04-10T10:24:33.254Z","repository":{"id":118612071,"uuid":"322515436","full_name":"CivilNet/SYSZUX-FACE","owner":"CivilNet","description":"face detect based on opencv \u0026 libdeepvac","archived":false,"fork":false,"pushed_at":"2020-12-18T08:52:38.000Z","size":1656,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T08:39:52.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CivilNet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-12-18T06:59:04.000Z","updated_at":"2022-10-19T06:42:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"db95e68e-cefa-4020-9fb0-abb2b6e88285","html_url":"https://github.com/CivilNet/SYSZUX-FACE","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/CivilNet%2FSYSZUX-FACE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CivilNet%2FSYSZUX-FACE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CivilNet%2FSYSZUX-FACE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CivilNet%2FSYSZUX-FACE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CivilNet","download_url":"https://codeload.github.com/CivilNet/SYSZUX-FACE/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199088,"owners_count":21063641,"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-29T14:33:30.974Z","updated_at":"2025-04-10T10:24:33.236Z","avatar_url":"https://github.com/CivilNet.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYSZUX-FACE\nface detect based on opencv \u0026amp; libdeepvac  \n\n# 简介\n本项目实现了人脸检测C++ API，支持在Linux上编译和运行。\n```c++\n//weights_path is face detect weights path.\nSyszuxFace face_detect(weights_path);\n\n//mat is cv::Mat type\n//detect_out is std::vector\u003ccv::Mat\u003e type\nauto detect_out = face_detect.process(mat);\n```\n\n# 从源码编译\n我们使用Docker来作为构建环境，包括如下步骤：\n- 准备编译环境；\n- 克隆该仓库；\n- 配置和编译;\n- 运行。\n\n#### 准备编译环境\n- 启动容器\n```bash\ndocker run -it --name gemfield -h gemfield ubuntu:20.04 bash\n```\n- 安装依赖包\n```bash\napt update\napt install cmake g++ git libopencv-dev\n```\n\n- 下载libdeepvac预编译库\n```bash\nwget https://github.com/DeepVAC/libdeepvac/releases/download/1.6.0/libdeepvac.tar.gz\ntar zxvf libdeepvac.tar.gz\n```\n#### 克隆该仓库\n```bash\ngit clone https://github.com/CivilNet/SYSZUX-FACE\n```\n#### 配置和编译\n```bash\ncd SYSZUX-FACE\nmkdir build\ncd build\ncmake -DCMAKE_PREFIX_PATH=\u003clibdeepvac_dir\u003e ..\nmake\n```\n\n#### 运行\n```bash\n#in build dir\nbin/syszux_face_detect ../deepvac_zoo/face_retina.deepvac /home/gemfield/test1.jpg\n```\n程序输出检测到的人脸数量，以及将检测到的人脸裁切写入当前目录。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcivilnet%2Fsyszux-face","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcivilnet%2Fsyszux-face","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcivilnet%2Fsyszux-face/lists"}