Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.92 KB

README.md

File metadata and controls

59 lines (41 loc) · 1.92 KB

About the project

Weekend long Hackathon @google, Tel Aviv (http://brainihack.org/) we decided to create a machine that reads user brain waves using Emotiv device, and output those users feeling into the web.

A project by @galbracha @bArmageddon @Jishai @daniik @yitzikc The team

we "accidently" created a by-product that exposes the emotiv data to the web in a json format.

by doing so we allow javascript developer write on top of what we did and create a real-time unique experience

Demo

the demo is live http://neurobrush.com - data doesn't get updated, but its just to get the idea Live demo

Project Structure

Local - data_publisher (Java Code)

Run this one locally. Reads data from Emotiv helmet or Emotiv emulator, sanitize it, encode it, and send it to the server

Server - neurobrush_web (Django)

Djano app that act as the server endpoint It exposes 2 methods: collect() and getlatestdata() collect will recieve data from your local computer getlatestdata will output the latest data in a json format the base.html also contains a live socket that updates when getlatestdata updates

How do I make it run?

Configuration

Locally:

1.Connect a Emotiv helmet, or use EmoCompser (the emulator)

2.Update EmoStateLog.java. set targetURL

Server:

1.Setup a server (We've used Heroku) that runs the django neurobrush_web.

2.Under neurobrush_web->site->templates->collect.py set REDIS_URL

3.Under neurobrush_web->site->templates->getlatestdata.py set REDIS_URL

released under MIT license (view LICENSE).

enjoy