In early 2020, Coronavirus disease (COVID-19) outbreak. The virus is highly contagious through respiratory droplets produced when an infected person coughs or sneezes. For the reason, many Asia country's governments has regulated people to wear masks in public places. In the situation, the mask detection app based on AI edge computing device might be a useful tool for supporting the policy.
Through AI OpenVINO toolkit, develop an effective model to detect whether people wear masks correctly or not in the public.
Ideal Example Demo (Based on the Mask Detection results, show different colors of square):
(※ Yellow: wear in corret way, Light Green: not wear a mask, pink: wear incorrectly)
Original Open Resources: https://www.facebook.com/groups/525579498272187/permalink/642268049936664/
Model used: face-detection-retail-0005
Data used: *Open Source Dataset (00e992ca.jpg)
Development tool: Google Colab
Changeable Codes:
!python $model_zoo'tools/downloader/'downloader.py --name face-detection-retail-0005 --precisions FP32-INT8 -o /content/OpenDevLibrary/demo_files/models
!source /opt/intel/openvino/bin/setupvars.sh && python app.py -i "/content/OpenDevLibrary/demo_files/images/00e992ca.jpg" -t "FACE" -m "/content/OpenDevLibrary/demo_files/models/intel/face-detection-retail-0005/FP32-INT8/face-detection-retail-0005.xml"
- Apply orignial model to transfer learning and fine tuning on "Mask Detection Dataset" (open-source dataset)
- Adopt softmax activation function for detecting different situations of wearing masks
- Deploy on edge devices to realize edge computing
https://github.com/alihussainia/OpenDevLibrary
https://www.facebook.com/groups/525579498272187/permalink/642268049936664/
Po-Chuan Chen, Li-Cheng Hsueh