python-emotiv is an open-source library to acquire data from Emotiv EPOC headset. Although Emotiv recently provided 32-bit SDK for Linux, we have chosen to use the reverse-engineered protocol as the code will be finally deployed on a raspberry-pi ARM box.
Parts of the project are inspired from mushu and emokit which is the pioneer of the reverse-engineered protocol.
- pyusb (Version >= 1.0)
- pycrypto
- python-bitstring
- numpy
- scipy
- matplotlib (For data analysis scripts under utils/)
- RPi GPIO (For SSVEP BCI in examples/)
This can be done with:
pip install -r requirements.txt
python setup.py install
Then just run python setup.py install to install the module on your
system.
For OS X, source emotiv_setup.sh. This prevents the OS turning emotiv
EEG/EPOC into a divice type. To go back to the original setup using Emotiv's
designed software, simply run emotiv_uninstall (found in emotiv_setup.sh).
When you run utils/datalogger.py, it will update what it gets from your headset and output the data once in a second on your terminal:
Sebastian Imlay
