インストール
sudo apt update |
sudo apt 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 |
sudo apt install python3-venv |
python3 -m venv --system-site-packages ~/venv |
source ~/venv/bin/activate |
pip install --upgrade pip |
pip install h5py==3.10 |
pip install tensorflow |
pip install tensorflow_io |
pip install tflite-runtime |
pip install opencv-python==4.9.0.80 |
mkdir ~/AI_Driver |
cd ~/AI_Driver |
wget https://raw.githubusercontent.com/mituhiromatuura/AI_Driver/main/aidriver.py |
wget https://raw.githubusercontent.com/mituhiromatuura/AI_Driver/main/cfg.py |
sudo pigpiod |
source ~/venv/bin/activate |
cd ~/AI_Driver |