Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created the folder containing files for mask detection #941

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Dharun235
Copy link
Contributor

@Dharun235 Dharun235 commented Oct 29, 2024

Added the dataset from kaggle, saved the model file as seperate, added readme file for installation and procedures to implement the project, added the python code for model training and model deployment.

Pull Request for PyVerse 💡

Requesting to submit a pull request to the PyVerse repository.


Issue Title

Please enter the title of the issue related to your pull request.
Enter the issue title here.
Add a new project

  • I have provided the issue title.

Info about the Related Issue

What's the goal of the project?
Describe the aim of the project.
The goal is to create a system that can detect whether a person is wearing a face mask or not using your webcam. The project will involve:

Training a Machine Learning Model: Use a pre-trained model (like MobileNetV2) and fine-tune it to classify images of people with and without face masks.
Real-Time Detection: Integrate the model with OpenCV to process video frames from a webcam and detect if a person is wearing a mask in real-time.
User Feedback: Display a message on the screen indicating whether a mask is present or not, and draw bounding boxes around the detected faces.

  • I have described the aim of the project.

Name

Please mention your name.
Enter your name here.
Dharunkumar

  • I have provided my name.

GitHub ID

Please mention your GitHub ID.
Enter your GitHub ID here.
Dharun235

  • I have provided my GitHub ID.

Email ID

Please mention your email ID for further communication.
Enter your email ID here.
dharun.official.01@gmail.com

  • I have provided my email ID.

Identify Yourself

Mention in which program you are contributing (e.g., WoB, GSSOC, SSOC, SWOC).
Enter your participant role here.
Contributor under GSSoC'EXTD and Hacktoberfest

  • I have mentioned my participant role.

Closes

Enter the issue number that will be closed through this PR.
Closes: #issue-number
#918

  • I have provided the issue number.

Describe the Add-ons or Changes You've Made

Give a clear description of what you have added or modified.
Describe your changes here.
Added the dataset, model file, code for model training and model deployment in python is added along with readme file.

  • I have described my changes.

Type of Change

Select the type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Describe how your changes have been tested.
Describe your testing process here.
Tested for model accuracy, then tested for camera feed, then model deployment in the camera feed all in my local pc.

  • I have described my testing process.

Checklist

Please confirm the following:

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added things that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

Dharun235 and others added 2 commits October 29, 2024 16:53
Added the dataset from kaggle, saved the model file as seperate, added readme file for installation and procedures to implement the project, added the python code for model training and model deployment.
Copy link

👋 Thank you for opening this pull request! We're excited to review your contribution. Please give us a moment, and we'll get back to you shortly!

Feel free to join our community on Discord to discuss more!

@UTSAVS26
Copy link
Owner

@Dharun235 does all .xml files required or some files will also work?

@Dharun235
Copy link
Contributor Author

@UTSAVS26 some files will also work. Or otherwise, I can provide the kaggle dataset url in readme file mentioning the user to download the dataset from here.

@UTSAVS26
Copy link
Owner

@UTSAVS26 some files will also work. Or otherwise, I can provide the kaggle dataset url in readme file mentioning the user to download the dataset from here.

Provide the dataset link.

@Dharun235
Copy link
Contributor Author

I have updated and requesting to check for any other corrections

@@ -0,0 +1,119 @@
import tensorflow as tf
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Dharun235,
Please make sure that you check the extensions of the files before commiting. This file I suppose should be .py .
Update this and I will approve the PR.
Thank you!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now I have done it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants