#!/bin/bash sudo apt update || exit 1 sudo apt upgrade -y || exit 1 sudo apt install python3 python3-pip python3-tk python3-pil python3-pil.imagetk -y || exit 1 python3 -m pip install --upgrade pip || exit 1 python3 -m pip install pyserial || exit 1 python3 -m pip install opencv-contrib-python || exit 1 python3 -m pip install pillow || exit 1 python3 -m pip install noise || exit 1