Skip to content

Python Package to detect mask in input photo or pull out the cam for real time mask detection ,download the module from here :- https://pypi.org/project/detect-mask/

License

Notifications You must be signed in to change notification settings

Jash271/detect_mask

Repository files navigation

Detect Mask in input photo 😷

Upload Python Package PyPI PyPI - Status PyPI - Downloads PyPI - License

Install module for use : https://pypi.org/project/detect-mask/

Stable Build for all OS

Fast AI,Open CV required to run this module

Just Import detect_mask module :

import detect_mask
from detect_mask import Mask

call the method Determine and pass the path of the photo of the variable :

Mask.Determine(path)

Returns a Tuple :

(0,'No Mask')

(1,'Mask')

Pull Out the Camera to Detect Mask, Real Time

Mask.Cam()

It's that simple