# Face Mask Detection
- Refering to [AIZOOTech/FaceMaskDetection](https://github.com/AIZOOTech/FaceMaskDetection).
- Download the face_mask_detection model from this repository and convert the model file `face_mask_detection.pth` to `.onnx` format and finally `IR` file (`.bin` and `.xml`).
- Based on Openvino.
## how to run
1. set up the necessary environment according to the courses [基于 OpenVINO™ 的 AI 视觉应用基础课](https://course.itxueyuan.com/215)
2. initialize the OpenVINO environment
```shell
$ <installed dir>\bin\setupvars.bat
```
3. run
1. on image
```shell
python openvino_infer.py --img-path /path/to/your/img
```
2. on video
```shell
python openvino_infer.py --img-mode 0 --video-path /path/to/video
# If you want to run with camera video, set video_path to be 0
python openvino_infer.py --img-mode 0 --video-path 0
```
没有合适的资源?快使用搜索试试~ 我知道了~
基于openvino实现的口罩检测模型face_mask_detection
共12个文件
py:5个
pyc:4个
md:1个
需积分: 13 0 下载量 82 浏览量
2022-10-08
17:56:24
上传
评论
收藏 3.64MB ZIP 举报
温馨提示
#清磁盘啦~,CSDN“网盘”真好用,感谢CSDN~ 基于openvino实现的口罩检测模型face_mask_detection
资源详情
资源评论
资源推荐
收起资源包目录
face_mask_detection.zip (12个子文件)
models
face_mask_detection.bin 3.86MB
face_mask_detection.xml 141KB
openvino_infer.py 5KB
README.md 968B
utils
anchor_generator.py 2KB
nms.py 2KB
__pycache__
anchor_generator.cpython-39.pyc 2KB
anchor_decode.cpython-39.pyc 1KB
__init__.cpython-39.pyc 140B
nms.cpython-39.pyc 2KB
anchor_decode.py 1KB
__init__.py 0B
共 12 条
- 1
LG.田猿
- 粉丝: 489
- 资源: 57
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0