Face masks had always been quite common where I'm from. During flu season, I would see many people wearing face masks in the city. With the COVID-19 pandemic, we see the use of face masks all around the world.
In this entry, my fellow MathWorker, Wanbin, uses deep learning to detect whether a mask is being worn. He has a number of live scripts to walk through the image labeling process, training process, and testing of the model. He includes a pre-trained network that was trained using images provided by his colleagues. If you would like to train your own model, you should supply your own training images.
He also includes a script for testing the model on a live video captured by a webcam. I gave it a try, and his pre-trained network seemed to work fine for me.
댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.