Using the Arduino IDE, upload tempMeasure.ino to your board with the thermoresistor setup.
Install PySerial to your environment
pip install -r requirements.txt
attach a thermoresistor with pin at A2
download usbipd: https://learn.microsoft.com/en-us/windows/wsl/connect-usb go on powershell with admin privileges and run
usbipd list
take the busid of the lilypad
usbipd bind --busid <busid>
usbipd attach --wsl --busid <busid>
if you see Errno 13, you may also need to give yourself permission to access serial devices
in the wsl terminal either run this line
sudo chmod 666
or for a permanent fix
sudo usermod -aG dialout $USER
-m venv venv
source venv/bin/activate
preventing package conflicts, create isolated sandbox for Python file
cd computerVision
conda deactivate
pip install mediapipe==0.10.9 streamlit opencv-python
run the program!
streamlit run app.py