Too Long; Didn't Read
In the previous article, I discussed machine learning (in particular, face and mask detection) in the browser. I want to give the technical details of the implementation. The application uses several neural networks to detect different events: face detection, mask detection. Each model/network runs in a separate thread (Web Worker) Neural networks are launched using TensorFlow.js, and Web Assembly or WebGL is used as a backend. Each result of the worker is saved and can be displayed on the UI.