Skip to content

lgrateau/face-mask-detection-for-pi

Repository files navigation

face-mask-detection-for-pi

Installation

  1. Clone this code
$ git clone https://github.com/lgrateau/face-mask-detection-for-pi
$ cd face-mask-detection-for-pi
  1. Go to the cloned directory
$ cd face-mask-detection-for-pi
  1. Create a virtual environment
$ python3 -m venv ./
$ source bin/activate
4. a Install python package on Mac OSx
$ pip3 install -r requirements.txt
4. b Install python package on Windows
$ pip3 install -r requirements.txt
4. c Install python package on Rapsberry 
$ pip3 install -r requirements_for_pi.txt

Use the mask detector

Use the virtual env

$ cd face-mask-detection-for-pi
$ source bin/activate

Run the mask detector server

$ python3 detect_mask_video.py

Open you browser

Open a browser to this url : http://localhost:5000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published