Skip to content

Python-based music recommendation system utilizing emotion-based criteria, integrated with Selenium for web testing purposes

License

Notifications You must be signed in to change notification settings

pragyapranati/Music-Recommender

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🎶🎼 Emotion Based Music Recommender 🎼🎶

This Streamlit app allows users to log in and receive music recommendations based on their detected emotions. The application captures the user's emotion through a webcam stream and recommends songs accordingly.

MusicTomAndJerryGIF

Technologies Used:

Python     Streamlit     OpenCV     NumPy     Mediapipe     Keras    

  • streamlit 🖥️: Used to create the web application interface.
  • streamlit_webrtc 🎥: Utilized for capturing video streams from the webcam.
  • av 🎬: Enables handling audio and video streams.
  • cv2 📷: OpenCV library for image and video processing.
  • numpy 🔢: Fundamental package for scientific computing with Python.
  • mediapipe 👐: Provides solutions for various perception tasks, including holistic and hand tracking.
  • keras 🧠: Deep learning library for building and training neural networks.
  • webbrowser 🌐: Allows opening web pages in the default web browser.

How to Run:

  1. Clone the Repository: 📥
    git clone https://github.com/pragyapranati/Music-Recommender

  2. Install Required Packages: 📦
    pip install -r requirements.txt

  3. Run the Application: ▶️
    streamlit run main.py

  4. Use the Below Credentials to log in 🔐
    ID: admin
    Password: 123456

Steps to Use the Application:

  1. 🌐 Open the application URL in a web browser.
  2. 👤 Enter your username and password in the provided fields.
  3. ✅ If the login is successful, you will see a message indicating successful login.
  4. 🎵 Enter the desired language and singer for song recommendations.
  5. 📷 Allow the application to access your webcam.
  6. 🎶 Click on the "Recommend me songs" button to receive song recommendations based on your detected emotion.
  7. ❗ If you haven't allowed the application to capture your emotion yet, you will be prompted to do so.
  8. ✔️ Once the emotion is detected, songs related to the entered language, singer, and emotion will be recommended.
  9. 🚪 You can log out by closing the application or navigating away from the page.

Reach me at

LinkedIn     Gmail Instagram    

Feel free to explore and enjoy discovering new music tailored to your emotions!