iot workshop
video link -https://www.youtube.com/watch?v=j6i4YTFlYRA
To install opencv:(upgrade-250mb) (raspian)
sudo apt-get update
sudo apt-get upgrade
sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED
pip install --upgrade pip
pip install --upgrade pip setuptools wheel
sudo apt-get install build-essential cmake pkg-config libjpeg-dev libtiff5-dev libjasper-dev libpng-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore-dev libx264-dev libfontconfig1-dev libcairo2-dev libgdk-pixbuf2.0-dev libpango1.0-dev libgtk2.0-dev libgtk-3-dev libatlas-base-dev gfortran libhdf5-dev libhdf5-dev
sudo apt-get install libcroco3 libqt5gui5 libqt5webkit5 libqt5test5 python3-pyqt5 python3-dev
pip install opencv-contrib-python-headless or sudo pip install opencv-python==4.4.0.46
pip install -U numpy
pip3 cache purge (incase if output is "killed")
(not necessary)pip install opencv-contrib-python --no--cache-dir
To install grovepi:
pip install pip==21.3.1
pip install scipy==1.8.0 --only-binary=:all:
pip install grovepi
pip --no-cache-dir install matplotlib
To install opencv:(upgrade-250mb, opencv-90mb) (raspian for robots)
sudo apt-get update
sudo apt-get upgrade
pip install pip==20.3.4
pip install --upgrade pip setuptools wheel
pip install --upgrade pip
sudo apt-get install build-essential cmake pkg-config libjpeg-dev libtiff5-dev libjasper-dev libpng-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore-dev libx264-dev libfontconfig1-dev libcairo2-dev libgdk-pixbuf2.0-dev libpango1.0-dev libgtk2.0-dev libgtk-3-dev libatlas-base-dev gfortran libhdf5-dev libhdf5-serial-dev libhdf5-100
sudo apt-get install libcroco3 libqt5gui5 libqt5webkit5 libqt5test5 python3-pyqt5 python3-dev
sudo pip install scikit-build
sudo pip install setuptools_scm
sudo pip --no-cache-dir install opencv-python==4.3.0.38
pip install -U numpy
pip3 cache purge (incase if output is "killed")
(not necessary)pip install opencv-contrib-python --no--cache-dir