- pip install flask
- pip install discord.py
- pip install Pillow
- pip install python-dotenv
- pip install gpiozero
- sudo apt install sqlite3 sudo apt-get install python3-tk pip install opencv-python
pip install tkvideoplayer
raspberry pi pip installation guide: python -m venv ~/py_envs source ~/py_envs/bin/activate python -m pip install NAMEOFWHATEVER
24:54:89:AE:0A:51
alt-f4
bash commands: bluetoothctl devices bluetoothctl pair 24:54:89:AE:0A:51 sudo rfcomm connect 0 24:54:89:AE:0A:51
sudo chmod a+rw /dev/rfcomm0
thermal-print.py my-image.png > /dev/rfcomm0
0C:86:29:61:9B:14
sudo apt-get install bluetooth libbluetooth-dev sudo pip install pybluez sudo apt-get install obexftp
pip install flask-cors
bash commands: bluetoothctl pair 0C:86:29:61:9B:14 obexftp --nopath --noconn --uuid none --bluetooth 0C:86:29:61:9B:14 --channel 2 -p color.png
python -m http.server 50299
header: password body: {"image_base64", "prompt"} image must be encoded as base64 make sure the base64 doesn't include the tag "data:image/png;base64,"
header: password body: {"image_base64", "test_response", "prompt"} image must be encoded as base64 make sure the base64 doesn't include the tag "data:image/png;base64,"