Skip to content

[ICANN 2022] ''An Improved Lightweight YOLOv5 Model Based on Attention Mechanism for Face Mask Detection'' Official Code

License

Notifications You must be signed in to change notification settings

Jasonxu1225/Improved-Lightweight-YOLOv5-for-Face-Mask-Detection

Repository files navigation

Improved Lightweight YOLOv5 for Face Mask Detection

This is the code for the paper "An Improved Lightweight YOLOv5 Model Based on Attention Mechanism for Face Mask Detection" published in ICANN 2022. Note that:

  1. The implementation of the baselines is based on the code from ultralytics/yolov5.
  2. The dataset is from AIZOOTech.

How to use the code

  1. There are some configs in my repo, you can choose some of them to run (If you do not know how to run yolov5, please see the detailed tutorial of yolov5 by ultralytics).
  2. Based on the code, you can write your own structures and configs to train your own model.
  3. There are lots of comments in Chinese written by me among the code, maybe it could help you understand the code (Since it is my first work, there might be some mistakes, please be careful).
  4. The yolov5 is updated frequently by ultralytics. The baseline in my repo might be not the newest, you can combine it with the newest version.

If you find this work helpful, please use the citation:

@inproceedings{xu2022improvedyolov5,
  title={An improved lightweight yolov5 model based on attention mechanism for face mask detection},
  author={Xu, Sheng and Guo, Zhanyu and Liu, Yuchi and Fan, Jingwei and Liu, Xuxu},
  booktitle={International Conference on Artificial Neural Networks},
  pages={531--543},
  year={2022},
}

About

[ICANN 2022] ''An Improved Lightweight YOLOv5 Model Based on Attention Mechanism for Face Mask Detection'' Official Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published