Skip to content

thejunkwareproject/junkware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WORK IN PROGRESS
Not ready to use Yet

Junkware

App Requirements

* [redis](https://www.digitalocean.com/community/tutorials/how-to-install-and-use-redis)
* mongodb
* python2.7
* virtual env
* openSCAD (required to export clean STL for 3D printing)
* chromium / google-chrome

Start

virtualenv venv
. venv/bin/activate

Then you need to install the dependencies:

(venv) $ pip install -r requirements.txt
(venv) $ pip install git+git://github.com/zacharydenton/bard#egg=bard

Now it's time to download the datasets

Data Sets are available on the junkware-data rep

cd [this-git-rep]
git clone http://github.com/clemsos/junkware-data

# molecules  data
cd molecules
chmod +x molecules/dl_molecules.sh
./dl_molecules.sh # download molecules datasets

You should be able to run the application:

(venv) $ python app.py

Mindwave Mobile setup

The brain waves are acquired using the Mindwave Mobile device. Here are some useful info to setup on Debian.

apt-get install bluez blueman

Test the data acquisition:

(venv) $ cd tests && python read_mindwave_mobile.py

Oxymeter CMS-50E

To get hearthbeat and other metrics, we user an oxymeter ref. CMS-50E.

Test the data acquisition

(venv) $ cd tests/oxymon && python test_oxymon.py

Patent-based Generator

A NLG patent-based object generator created for an art project.

pip install -m requirements.txt     # install
python -m textblob.download_corpora # download NLP

# nltk.download('maxent_treebank_pos_tagger')
# nltk.download('stopwords')
# nltk.download('wordnet')

## Tests You will need nosetest

chmod +x run_tests.sh
./run_tests.sh          # run all tests
./run_tests.sh xxx.py   # run a single test