{"id":13443671,"url":"https://github.com/hpc203/FaceMaskDetection-dnn","last_synced_at":"2025-03-20T17:31:03.833Z","repository":{"id":107513484,"uuid":"246210494","full_name":"hpc203/FaceMaskDetection-dnn","owner":"hpc203","description":"用opencv的dnn模块实现人脸口罩检测，包含C++和Python两种版本的实现","archived":false,"fork":false,"pushed_at":"2021-04-01T02:31:42.000Z","size":17042,"stargazers_count":53,"open_issues_count":3,"forks_count":17,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-28T07:39:39.819Z","etag":null,"topics":["deep-learning","dnn","facemask-detection","opencv"],"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/hpc203.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}},"created_at":"2020-03-10T04:46:43.000Z","updated_at":"2024-07-04T09:04:04.000Z","dependencies_parsed_at":"2023-06-08T23:45:46.379Z","dependency_job_id":null,"html_url":"https://github.com/hpc203/FaceMaskDetection-dnn","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/hpc203%2FFaceMaskDetection-dnn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpc203%2FFaceMaskDetection-dnn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpc203%2FFaceMaskDetection-dnn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpc203%2FFaceMaskDetection-dnn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hpc203","download_url":"https://codeload.github.com/hpc203/FaceMaskDetection-dnn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244660270,"owners_count":20489310,"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":["deep-learning","dnn","facemask-detection","opencv"],"created_at":"2024-07-31T03:02:06.752Z","updated_at":"2025-03-20T17:30:58.824Z","avatar_url":"https://github.com/hpc203.png","language":"Python","readme":"# FaceMaskDetection-dnn\n这个项目是基于原始的人脸口罩检测https://github.com/AIZOOTech/FaceMaskDetection\n本项目是属于它的延伸，在AIZOOTech的项目里，提供了pytorch,tensorflow,caffe,keras,mxnet这五种深度学习框架的前向推理，检测人脸并判断是否佩戴了口罩。在本项目中，使用opencv里的dnn模块做深度学习前向推理，从而摆脱了在前向推理时对深度学习框架的依赖。在本项目中，只需要opencv,numpy,PIL,argparse这4个库，即可完成人脸口罩检测的深度学习前向推理任务，不再需要额外安装任何深度学习框架了。假如你的机器上的python环境里没有opencv，那你在终端输入\npip install opencv-python完成opencv的安装，然后运行python opencv_dnn_infer.py\n\n用SSD网络检测人脸是否佩戴口罩\nC++版本的主程序是main.cpp，如果运行程序时在readNet这一句出错，那很有可能是你的opencv版本问题，这时需要升级opencv的版本\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpc203%2FFaceMaskDetection-dnn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhpc203%2FFaceMaskDetection-dnn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpc203%2FFaceMaskDetection-dnn/lists"}