Coder Social home page Coder Social logo

emokitvisualizer's Introduction

EmokitVisualizer

This is an Open Source signal visualizer project for the Emotiv EPOC+ Dongle based on the open source project Emokit

Screenshots

alt text alt text alt text alt text alt text

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

First, if you are in a Windows machine, you should install the Microsoft Visual C++ Compiler for Python It depends on the version of Python of your preference, for example, here is the link for Python 2.7

Installing

Windows

After you have installed the Visual C++ Compiler, you have to start a cmd console in the folder that holds your project and type:

pip install -r requirements.txt

This command will install all the Python modules needed for running the Emokit driver package

Linux ( Debian based )

First, you have to install the Hidapi driver so your OS can read the USB-HID that comes with the dongle, so you have to install this libraries, open your terminal and run:

sudo apt-get install libudev-dev libusb-1.0-0-dev libtool dh-autoreconf

After that, you got to download and install the 'Hidapi' driver itself, download the last version here:

https://github.com/signal11/hidapi/archive/master.zip

Now that you have the driver, you have to get a C++ compiler like 'g++' to compile and install the driver, after that, we have to unzip, compile and install the driver, open a Terminal at your Downloads folder:

unzip hidapi-master.zip
cd hidapi-master
./bootstrap
./configure
make
sudo make install

Now we have to install a Python library that connects the 'Hidapi' driver with your Python project, that can be made with the library 'pyhidapi', go to this link and download it:

https://pypi.python.org/pypi/hid/0.1.1

Or, you can download it from it's Main Github project in:

https://github.com/NF6X/pyhidapi

In this example, we download it from it's Github project, open a Terminal in your Downloads folder again and type:

unzip pyhidapi-master.zip
cd pyhidapi-master
python setup.py install

After installing the 'pyhidapi', we can run the main requirements setup, download it, we have to make a little fix in the 'requirements.txt' file first, open it in your favorite text editor and remove the line that says:

pywinusb>=0.4.2

This is the USB-HID driver for Windows, we are removing it because, in the Linux case, we are using the 'Hidapi' driver instead

After that, open a Terminal in the folder of the project and run:

pip install -r requirements.txt

And that's it for Linux.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

emokitvisualizer's People

Contributors

datovard avatar joagranadosme avatar quantamc avatar

Watchers

James Cloos 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.