install python
sudo apt install python3.8
python3.8 --version
# install pip
apt install python3-pip
install python-opencv
# prepare
pip3 install scikit-build
pip3 install cmake
ln -s /usr/bin/ninja /usr/bin/ninja-build
# install opencv
pip3 install opencv-python
pip3 install opencv-contrib-python