The Camera Piano project is an interactive musical application that allows users to play virtual piano keys using their camera. This project leverages computer vision techniques to detect hand movements, translating them into piano key presses. Users can enjoy a virtual piano-playing experience without the need for physical hardware.
- Camera Interaction: Utilizes the webcam to detect hand gestures and movements.
- Virtual Piano Keys: Maps hand movements to corresponding piano keys on the screen.
- Real-time Feedback: Provides real-time visual and auditory feedback during piano play.
Click to play demo video
- Ensure you have a webcam connected and properly configured.
- Supported web browser (Chrome, Firefox, etc.).
- Clone the repository: git clone https://github.com/KELVI23/Camera-piano.git
- Open index.html in your preferred web browser.
- Grant necessary permissions for webcam access.
- Start playing the virtual piano!
- Open the application in your web browser.
- Position yourself in front of the webcam.
- Use your hands to interact with the virtual piano keys.
- Enjoy the musical experience!
If you would like to contribute to this project, follow these steps:
- Fork the repository.
- Create a new branch: git checkout -b feature-new-feature.
- Commit your changes: git commit -m 'Add new feature'.
- Push to the branch: git push origin feature-new-feature.
- Submit a pull request.
This project is licensed under the MIT License.
Project is built in p5.js.