Severity: Warning
Message: fopen(/tmp/ci_sessionr3ton1n1lt4d073pi4a9cuck7bl1bocl): failed to open stream: No space left on device
Filename: drivers/Session_files_driver.php
Line Number: 176
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
Severity: Warning
Message: session_start(): Failed to read session data: user (path: /tmp)
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
The project detects whether a person in the video/image is wearing a mask or not using OpenCV and Tensorflow Python module.
Mask Detection is a code used to detect whether a person in the input image or video is wearing a mask or not. This packet is to detect whether a person in the video/image is wearing a mask or not using OpenCV and Tensorflow Python module.
Firstly we will load the dataset. The data used here is available in the Github repository of "Prajna Bhandary"(dataset).
The dataset is divided as follows:
Data
1. with_mask
2. with_mask
I have divided the data into test and train folders. I have arranged the data as follows:
1. train : 1.1 with_mask , 1.2 without_mask
2. test : 2.1 with_mask , 2.2 without_mask
This project is implemented on Jupyter notebook of Anaconda. For face tetection, i've used the haarcascade_frontalface_default.xml file from the haarcascade repository on Github.
The Python libraries used are :
1. NumPy
2. Os
3. Tensorflow
4. OpenCV
Submitted by Shreoshree Adhikari (sashreoshreeadhikari)
Download packets of source code on Coders Packet
Comments