/Face-Mood-Recognition-through-JavaScript-Node-JS-

Creating a Face Mood recognition application which works through JavaScript and detects the mood of the person looking into the web Camera.

Primary LanguageJavaScript

😃Mood Recognizer Project (Using NodeJSI(JavaScript))

😃 Mood Recognizer Project Welcome to the Mood Recognizer Project! This project, made with the power of JavaScript, can recognize your mood, age, and gender confidence percentage using the magic of face recognition. It's like having a mini-therapist right in your browser! 🤖

📸 What It Does This project uses your webcam to detect and display: • Your mood (e.g., happy, sad, surprised, etc.) 🥳😢😮 • Your age 👶👦🧑👴 • Your gender with a confidence percentage 🧑🚻

🛠️ How It Works

  1. JavaScript is the hero here, handling all the logic and webcam magic! 🦸‍♂️
  2. We use the awesome face-api.js library to load pre-trained models for face detection and recognition.
  3. The webcam feed is processed to detect faces, landmarks, age, gender, and expressions.
  4. All the cool data is then drawn on a canvas overlay for your viewing pleasure. 📹🎨

📂 Project Structure • public/: Contains the index.html and face-api.min.js for the frontend. • models/: Includes all the pre-trained models required for face detection and recognition. • videoStreamFail.txt: In case your webcam is feeling shy and doesn't want to turn on. 📄😅 • server.js: An Express server to serve our static files and get everything up and running. 🚀

🚀 Getting Started

  1. Clone the repository to your local machine.
  2. Make sure you have Node.js installed.
  3. Navigate to the project directory and run npm install to install dependencies.
  4. Start the server by running node server.js.
  5. Open your browser and navigate to http://localhost:5000.

📝 Note Remember to smile! 😁 The mood recognizer works best with a clear view of your face. 🤖 Technologies Used • JavaScript: The heart and soul of the project. • face-api.js: For all the face recognition goodness. • Express.js: Our trusty server-side companion.

🤔 Why This Project? Because who doesn't want a JavaScript-powered mood detector? It's fun, it's educational, and it's a great way to see some advanced web technologies in action. Plus, it's always good to know if your computer thinks you're happy or not. 😆

🐛 Troubleshooting If you encounter any issues, feel free to open an issue on GitHub or contact us. And if your webcam doesn't turn on, check the videoStreamFail.txt for some tips.

📧 Contact For any inquiries or feedback, reach out to us at aryan19v@gmail.com.


Enjoy the Mood Recognizer Project and may your webcam always find you in a good mood! 🎉😄