インストール
sudo apt-get update |
sudo apt-get upgrade |
sudo raspi-config |
2 Display Options | D5 VNC Resolution | 1024×768 |
3 Interface Options | I1 Legacy Camera | Yes |
6 Advanced Options | A1 Expand Filesystem | OK |
python3 -m venv --system-site-packages ~/venv |
source ~/venv/bin/activate |
pip install --upgrade pip |
pip install tensorflow |
pip install tensorflow_io |
pip install tflite-runtime |
pip install opencv-python |
pip install smbus2 |
mkdir ~/AI_Driver |
cd ~/AI_Driver |
wget http://ma2.la.coocan.jp/AI_Driver/webot/download/aidriver.py |
wget http://ma2.la.coocan.jp/AI_Driver/webot/download/cfg.py |
wget http://ma2.la.coocan.jp/AI_Driver/webot/download/movie.py |
wget https://raw.githubusercontent.com/KSY-IC/We-Bot/main/webot/webot.py |
sudo pigpiod |
source ~/venv/bin/activate |
cd ~/AI_Driver |