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

Added Face emotion classification Training model #1155

Merged
merged 6 commits into from
Nov 9, 2024

Conversation

shivenyadavs
Copy link
Contributor

@shivenyadavs shivenyadavs commented Oct 26, 2024

closes #1143
Emotion Classification Model
This project provides an emotion classification model that can be used to detect facial emotions in real-time using either pre-recorded video files or live webcam input. The repository includes:

train.py: Script to train the emotion classification model.
test.py: Script to test the model using either a video file or live webcam feed. Users can modify the video file path in the script for testing or switch to live webcam detection.
Features:
Real-time emotion detection via webcam.
Easy-to-modify test video path for custom testing.
Efficient model training using a standard dataset (not included in this repo).
How to Use:
Training: Use train.py to train your model. Ensure you have the appropriate dataset loaded for training.
Testing: In test.py, you can either:
Provide a path to a video file for emotion detection, or
Use the webcam for real-time detection by setting the webcam option.

Copy link

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@shivenyadavs
Copy link
Contributor Author

@Niketkumardheeryan can you please check the changes

@Niketkumardheeryan
Copy link
Owner

@shivenyadavs hey we don't accept.py files , please try to add .ipynb file , and readme.md and requirment.txt file

@Niketkumardheeryan
Copy link
Owner

@shivenyadavs you have to execute each cells of py notebooks, pls google it or use Jupyiter notebook or google colab

@shivenyadavs
Copy link
Contributor Author

@Niketkumardheeryan i have executed each and every cell in the ipynb file please check it sir.

@shivenyadavs
Copy link
Contributor Author

@Niketkumardheeryan can you please merge this pr i have changed it as you mentioned

@Niketkumardheeryan
Copy link
Owner

@shivenyadavs there is no readme file and your code have errors and well documented, Please maintain the proper headings in your code ,

Is this a copied code??

@shivenyadavs
Copy link
Contributor Author

it is not copied if it was copied how will errors be there

@shivenyadavs
Copy link
Contributor Author

it is in the folders
i cant upload files with 4gb as it contains photos for training there are 35000 images

@Niketkumardheeryan Niketkumardheeryan merged commit becac00 into Niketkumardheeryan:master Nov 9, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Face Expression detection through vedio and camera
2 participants