We assumed you have a basic knowledge of programming, so this tutorial only for installing and use python, not how to code..
Install python3 for basic of python compiler and runner
sudo apt-get install python3
Install pip for install the required dependencies in your python script
sudo apt install python3-pip
Use python3
to run the script
python3 main.py
Use pip
for install the required dependencies
pip3 install tensorflow
pip3 install pathlib
pip3 install opencv-python
Don’t forget to update
pip install --upgrade pip