Skip to content

waittim/facemask-detection

 
 

Repository files navigation

WearMask: In-browser Face Mask Detection - Deployment

For more details about this project, please visit the main repo.

Usages

Method 1: github pages(chrome)

  1. launch google chrome browser, open chrome://flags and enable all experimental webassembly features
  2. re-launch google chrome browser, open https://facemask-detection.com/test.html and enjoy
  3. re-launch google chrome browser, open https://facemask-detection.com/index.html and enjoy

Method 2: run locally(chrome)

  1. start a http serverpython3 -m http.server 8888
  2. launch google chrome browser, open chrome://flags and enable all experimental webassembly features
  3. re-launch google chrome browser, open http://127.0.0.1:8888/test.html and enjoy
  4. re-launch google chrome browser, open http://127.0.0.1:8888/index.html and enjoy

Method 3: run locally(firefox-nightly)

  1. start a http serverpython3 server.py
  2. download firefox-nightly from https://www.mozilla.org/en-US/firefox/channel/desktop
  3. launch firefox-nightly browser, open http://127.0.0.1:8888/test.html and enjoy
  4. launch firefox-nightly browser, open http://127.0.0.1:8888/index.html and enjoy

About

In-browser Real-time Mask Detection | Deployment part. Based on NCNN and Web-Assembly.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 68.5%
  • HTML 24.9%
  • C 3.0%
  • CMake 2.6%
  • Other 1.0%