Git Product home page Git Product logo

symphony's Introduction

Symphony v0.01

Symphony is a computer vision based project that allows you to play music through leg gestures using ArucoMarkers.

Overview:

  • We use OpenCV and ArucoMarkers for detecting the markers that have been placed on the floor, the marker size is kept after taking in consideration the average shoe size of the partcipants so as to avoid any errors whilel detecting the markers.
  • After the detection of the marker is done, the next challenge we face is how to produce the sounds used in the game. We tackle this problem by using boolean expresions in the conditional statements. When the participant puts his leg on the marker, the marker returns a boolean value:0 which plays the sound of player winning a point. When the leg is removed, the marker is detected again and hence the production of sound is stopped.
  • We have used Tkinter to provide a user interface to the participant to make the game more interactive by making dynamic pop-ups for windows like "Game-Over" and "Game-Begins" and providing them options to select their preferred in-game-music.

Language Used:

Python: Python is a high-level, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation. It supports multiple programming paradigms, including structured, object-oriented and functional programming.

Libraries Used:

  • OpenCV: OpenCV is a library of programming functions mainly aimed at real-time computer vision.
  • NumPy: NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.
  • Matplotlib: Matplotlib is a plotting library for the Python programming language and it provides an object-oriented API for embedding plots.
  • PlaySound: The playsound module is a cross platform module that can play audio files.
  • OS: The OS module in Python provides functions for interacting with the operating system.
  • Tkinter: Tkinter in Python is used to create Graphical User interfaces (GUIs) and is included in all standard Python Distributions.
  • PyGame: Pygame is a cross-platform set of Python modules designed for writing video games. It includes computer graphics and sound libraries designed to be used with the Python programming language.

symphony's People

Contributors

jai132 avatar nerdlab53 avatar harshitkaushik003 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.