A python interface for various devices to the labstreaminglayer. Developed for the Arthur C. Clarke Center for Human Imagination and the Center for Human Transformation.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. This project currently targets windows.
Install git (with git bash): download
Install the latest release of Python for Windows download
When downloading Python, don't forget to check the box for "Add Python to environment variables".
In git bash, alias python to python.exe:
cd ~
touch .bashrc
echo "alias python='winpty python.exe'" >> .bashrc
Quit and restart git bash. Now you should be able to run python:
python
type exit()
to quit.
Use pip to install a number of packages (including pylsl):
pip install pylsl
pip install numpy
pip install matplotlib
pip install opencv-contrib-python
pip install pillow
pip install python-osc
If you are unable to install opencv-python (for instance with 64 bit python), then you can install python-opencv
instead.
gui.py will only work if your recorded data includes reference webcam footage.
-
Xianhai Cao - Initial work
-
Robert Twomey - current work - github.com/roberttwomey