Skip to content

nerdlab53/Symphonyv0.1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

ieee bpit project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages