Giter VIP home page Giter VIP logo

kognitywne_sledzie's Introduction

Move-Play

This program enable translate moving any green object to music.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Project require Python version 3.6.

Library Version Usage
PyAudio 0.2.11 Play sounds
opencv-python 4.0.0.21 Track move in live wideo
numpy 1.15.0 Basic math functions
imutils 0.5.2 To make basic image processing

Installing

Use pip install command to install all required prerequisities described above.

pip install PyAudio

Run program

To run application run class move_play.py.

Application Description

Objectives

Initially, we wanted to make an application, which enable moving mouse using any colorful object. We did not have any ideas how to make this useful.

Then, we decided to make a toy, application which enables playing the sound using colorful object and provides the opportunity to change the amplitude of the sound (volume) and the frequency of the sound (sound pitch).

Methodology

  1. Image recognition using opencv-python
  2. Playing sounds using initially audiogen library, finally pyaudio
  3. Playing sounds depends on image recognition - merge step 1 and 2
  4. Testing by piano players and amateurs

Evaluation

Move & Play was tested by one beginner player, two intermediate player and one advance player. Each player tried to play simple melody.

Nice toy Image recognition does not work ideally Image recognition working depends on the lights, the day time

Discussion

Toy was generally approved

Some proposition to improve: There should be possibility to stop playing the sound and manipulate the durability of the sound.

Proposal changes: Green object turn on the sound Another colorful object turn off the sound Sound lasting until you turn off them Therefore, it would be easier to play something interesting.

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc

kognitywne_sledzie's People

Contributors

dawtom2912 avatar mcdusia avatar

Watchers

 avatar  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.