Open Source Java driver to access raw data from the Emotiv EPOC EEG headset.
This is a port and extension of emokit.
Thanks go to the following for reverse engineering, original code and assistance:
(click image for a video of the demonstration data acquisition application)
Not currently being distributed via Maven Central, but it will be.
Clone this repository and install locally using Maven (mvn install
). If this instructions are beyond you,
then you are probably not the target audience of this project.
Raw access is through the org.openyou.Emotiv
class:
Emotiv emotiv = new Emotiv();
for (Packet packet : emotiv) {
...
}
the special Iterator
will continue until the EEG device is disconnected, or there are IO problems.
If that happens, a new Emotiv
instance can be obtained and polled.
Several Java Swing GUI widgets are provided for use in your applications, as demonstrated in the bundled Zoku data acquisition application.
Please consider supporting the maintenance of this open source project with a donation:
Copyright (C) 2012 Samuel Halliday
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/
Contributors are encouraged to fork this repository and issue pull requests. Contributors implicitly agree to assign an unrestricted licence to Sam Halliday, but retain the copyright of their code (this means we both have the freedom to update the licence for those contributions).