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.
- 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.
-
Clone the Repository: 📥
git clone https://github.com/pragyapranati/Music-Recommender -
Install Required Packages: 📦
pip install -r requirements.txt -
Run the Application:
▶️
streamlit run main.py -
Use the Below Credentials to log in 🔐
ID: admin
Password: 123456
- 🌐 Open the application URL in a web browser.
- 👤 Enter your username and password in the provided fields.
- ✅ If the login is successful, you will see a message indicating successful login.
- 🎵 Enter the desired language and singer for song recommendations.
- 📷 Allow the application to access your webcam.
- 🎶 Click on the "Recommend me songs" button to receive song recommendations based on your detected emotion.
- ❗ If you haven't allowed the application to capture your emotion yet, you will be prompted to do so.
- ✔️ Once the emotion is detected, songs related to the entered language, singer, and emotion will be recommended.
- 🚪 You can log out by closing the application or navigating away from the page.
Feel free to explore and enjoy discovering new music tailored to your emotions!