Our product aims to provide a solution for each unique user to remain concentrated by taking a short test, and determining what genre of music is optimal for the user to stay concentrated.
A common problem faced by many people on focusing for extended periods of time while working on tedious or monotonous tasks. Our product aims to provide a solution for each unique user to remain concentrated by taking a short test, and determining what genre of music is optimal for the user to stay concentrated. Using Logistic Regression and
- You are required to have the Open BCI Cap kit in order to get the most accurate concentration score and an accurate recommendation.
- Best to take test in a quiet environment
- All packages found in
pyproject.toml
are required in order to run the code. - You can install all the dependencies by running the following command in your terminal:
poetry install
Feel free to tinker with the notebooks in the root directory, but in order to tun the web app, follow the following steps:
- Follow instructions in the Cap Kit to ensure all brain activity will be recorded accurately
- Wear Cap and connect the Bluetooth device to computer
- Clone this repository to your local machine
- Edit the serial port in
.env
to the port that the Open BCI Cap Kit is connected to. On linux, you can find the port by runningls /dev/tty*
in your terminal and looking for the port that is connected to the Open BCI Cap Kit. On Mac, you can find the port by runningls /dev/cu.*
in your terminal and looking for the port that is connected to the Open BCI Cap Kit. On Windows, you can find the port by runningmode
in your terminal and looking for the port that is connected to the Open BCI Cap Kit. - In Terminal, navigate to the app directory in this repository
- Run the following command in your terminal:
python3 main.py
- Open your web browser and navigate to http://127.0.0.1:8080
Make sure you know what port is being connected for the kit to initialize properly and record data accurately, the link is below for the exact location based on Mac/Linux/Windows OS.
- Batteries are dead, replace them ASAP
- Wiring is not correct, refer back to the Setup link to set up the correct wires to the correct numbers and place on the cap.
Unplug all wiring, and restart or wait for board to cool down.
Contributor names and contact info:
- Rohan Pandey @RohanPandey
- Ray Chen @RayChen
- Eric Ye @EricYe
- Siddh @Siddh
- 0.1
- Initial Release