Pyschopy requires python 3.8.
- Create a
.env
file based off of .env.template. Go to cortex dashboard to get an env key. - Create a file called
cert.pem
containing the contents from this - Install all requirements
- Download
coco_file_224_sub1_ses1.mat
and put it into a folder calledprocessed-stimulus
- Install the emotive launcher
- Log into the emotiv launcher and set it up with the headset. This app will also act as a wss server
- Run
stimulus.py
- On the first time running this script, use the emotiv launcher to accept access from the headset
You will need to run download_coco.py
to download the images first. This will take 22gb.
After you will need to run convert_224_stimuli_v2.py
to split the coco images into their respective files for ingestion in stimulus.py