Extract the ZIP file and navigate to the project directory.
cd XChroma
3. Create a Virtual Environment (Optional)
It is recommended to create a virtual environment to isolate project dependencies.
Open a terminal or command prompt and run the following commands:
python3 -m venv myenvsource myenv/bin/activate
python -m venv myenvmyenv\Scripts\activate
4. Install Required Packages
In the virtual environment or your Python environment,
run the following command to install the necessary packages:
pip install -r requirements.txt
5. Launch the App
Before running the application, make sure to connect the required hardware:
Ocean Spectrometer: Ensure it is properly connected
Arduino (if needed): If your setup includes an Arduino, connect it via USB and verify communication.
Once all necessary devices are connected, in the project directory run the application:
python main.py
Tip
Now that you have installed all the necessary prerequisites and dependencies,
feel free to check the library documentation for more information on
usage and different algorithms.