インストール
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 adafruit-circuitpython-servokit |
mkdir ~/AI_Driver |
cd ~/AI_Driver |
wget http://ma2.la.coocan.jp/AI_Driver/roba/download/aidriver.py |
wget http://ma2.la.coocan.jp/AI_Driver/roba/download/cfg.py |
wget http://ma2.la.coocan.jp/AI_Driver/roba/download/movie.py |
sudo pigpiod |
source ~/venv/bin/activate |
cd ~/AI_Driver |