| Literature DB >> 33713140 |
Francesco Mercaldo1,2, Antonella Santone1.
Abstract
OBJECTIVE: Due to the COVID-19 pandemic, our daily habits have suddenly changed. Gatherings are forbidden and, even when it is possible to leave the home for health or work reasons, it is necessary to wear a face mask to reduce the possibility of contagion. In this context, it is crucial to detect violations by people who do not wear a face mask.Entities:
Keywords: artificial intelligence; deep learning; face mask
Year: 2021 PMID: 33713140 PMCID: PMC7989332 DOI: 10.1093/jamia/ocab052
Source DB: PubMed Journal: J Am Med Inform Assoc ISSN: 1067-5027 Impact factor: 4.497
Figure 1.The workflow of proposed approach.
Figure 2.Python pseudocode of the proposed network.
Model architecture in numbers
| Type | Output Shape | Parameters |
|---|---|---|
| Average Pooling2D | (1, 1, 1280) | 0 |
| Flatten | (None, 1280) | 0 |
| Dense | (None, 128) | 163 968 |
| Dropout | (None, 128 | 0 |
| Dense | (None, 2) | 258 |
Figure 3.An example of detection.
Figure 4.A second example of detection.
Figure 5.A third example of detection.
Figure 6.A fourth example of detection.
Figure 7.Experimental analysis results.
Experimental analysis evaluation
| Epoch | train_loss | train_acc | eval_loss | eval_acc |
|---|---|---|---|---|
| 1 | 0.5491 | 0.7650 | 0.1467 | 0.9756 |
| 2 | 0.1887 | 0.9498 | 0.0839 | 0.9841 |
| 3 | 0.1072 | 0.9702 | 0.0636 | 0.9829 |
| 4 | 0.0783 | 0.9797 | 0.0606 | 0.9853 |
| 5 | 0.0620 | 0.9851 | 0.0527 | 0.9853 |
| 6 | 0.0611 | 0.9833 | 0.0513 | 0.9866 |
| 7 | 0.0670 | 0.9828 | 0.0475 | 0.9866 |
| 8 | 0.0513 | 0.9879 | 0.0435 | 0.9853 |
| 9 | 0.0529 | 0.9841 | 0.0432 | 0.9878 |
| 10 | 0.0555 | 0.9835 | 0.0427 | 0.9866 |
| 11 | 0.0537 | 0.9852 | 0.0393 | 0.9878 |
| 12 | 0.0338 | 0.9899 | 0.0409 | 0.9878 |
| 13 | 0.0467 | 0.9851 | 0.0388 | 0.9890 |
| 14 | 0.0509 | 0.9825 | 0.0356 | 0.9866 |
| 15 | 0.0315 | 0.9930 | 0.0374 | 0.9878 |
| 16 | 0.0374 | 0.9882 | 0.0377 | 0.9902 |
| 17 | 0.0312 | 0.9914 | 0.0354 | 0.9878 |
| 18 | 0.0355 | 0.9877 | 0.0382 | 0.9902 |
| 19 | 0.0314 | 0.9908 | 0.0379 | 0.9902 |
| 20 | 0.0299 | 0.9911 | 0.0351 | 0.9890 |