Ye ek Python-based project hai jo real-time mein webcam se face detect karta hai aur emotions ko Positive, Negative, ya Neutral sentiment mein map karta hai.
- Face Detection: Real-time webcam processing using OpenCV.
- Emotion Recognition:
FERlibrary aurMTCNNka use karke facial expressions detect karna. - Sentiment Mapping: Emotions (like Happy, Sad, Angry, etc) ko sentiments mein convert karna.
- Language: Python π
- Computer Vision: OpenCV (
cv2) - AI/ML Library:
FER(Facial Expression Recognition)
Pehle terminal ya CMD mein ye command chalayein:
git clone [https://github.com/muskangupta65/semantic_analysis_face.git](https://github.com/muskangupta65/semantic_analysis_face.git)
2. Zaruri Libraries install karein:
Is project ko chalane ke liye niche di gayi libraries install karna zaroori hai:
Bash
pip install opencv-python fer tensorflow
3. Code Run karein:
Ab is command se project start karein:
Bash
python semantic_ana_face.py
π How it Works
Code webcam open karta hai.
FER detector face detect karke emotions nikaalta hai.
Dictionary mapping ke zariye wo emotion ko Sentiment (Positive/Negative/neutral) mein badal kar screen par dikhata hai.
'Q' dabane par program band ho jata hai.
Developed by: muskangupta65