BrainLink Pro Unity3D Integration is a project that enhances the BrainLinkParser-Python to facilitate low-latency integration of a BrainLink Pro device with Unity3D.
- Install Python 3.11. Note: Version must match exactly.
Install the following libraries using pip:
pip install tkinter pyserial fastapi uvicornEnsure BrainLinkParser.py is located in the same directory as your script or within your Python path.
For Windows 11 users:
-
Open PowerShell in the script's directory.
-
Execute the following command:
python .\BrainLinkMonitor.py
- Import the provided C# script from
UnityClient/EEGDataReceiver.csinto your Unity project. - Install the necessary dependencies, particularly:
- Newtonsoft.Json
- Create a TextMeshPro text element in your scene to display the EEG values.
- Start the Python script to begin receiving data from the BrainLink Pro device.
- In your Unity project, use the
EEGDataReceiverscript to process and display the incoming EEG data.
This project is a fork of BrainLinkParser-Python, which does not specify a license.
The additional code and modifications made in this fork are available for use under the MIT License.
If you're the original author of BrainLinkParser-Python and have any concerns, please contact us.
- Original BrainLinkParser by Macrotellect
