In this last blog, we will walk you through how to put everything we have done into a live streaming version. After all this hard work, you can see yourself being recognized on your webcam!
The package we will use is imutils. Here are the essential packages for this section.
from imutils.video import VideoStream
from imutils.video import FPS
import numpy as np
The basic idea is we use VideoStream and FPS to open a pointer to the live stream and start the FPS timer. During the loop of each frame of the…
As we talked about how to use FaceNet to basically check whether a person is wearing a mask or not, in this blog we will extend the system to include face mask-wearing correctness check and face recognition for both bare face and masked face.
To add this function, we first need to define what is the correct way to wear a mask. To efficiently avoid droplets spreading out when talking, the mask should cover both the nose and mouth.
Based on that we choose another dataset MAFA. The dataset consists of 30, 811 Internet images, in which 35, 806 masked…
Living in the post-pandemic era, people are required to wear masks when they go shopping, to hospital, and even to work. We should carry the responsibility to the whole society while the business should also adopt more scrutiny operation to monitor the mask-wearing behavior. An accurate face mask detector with wearing guidance may not only enhance the entrance control in buildings, shopping malls, and groceries but also invoke people’s awareness of the severity of this dead-virus if not yet.
This project will walk you through the process of building a face mask detector with FaceNet. We will build the face…