2020年08月28日 Google Cloud Platform にアプリを作成 gcpに画像のテキストを表を作成して、ファイル(csv)を保存するアプリを作成する。1.gcpにプロジェクトを登録 2.App Engin 作成
2020年07月18日 xserverにOpenCVをインストールする xserver にlinux brew をインストールpython3.8.4をインストールopencv-python を pip でインストールpython3 起動後> import cv2 しかし> mportError: libgthread-2.0.so.0: cannot open shared object file: No such file or directory以下のインストールbrew install libgtk2.0-devbrew install glibbrew install atkbrew install pangobrew install gdk-pixbufbrew install gdk+再度 python3 起動> import cv2しかし>ImportError: libSM.so.6: cannot open shared object file: No such file or directory以下のインストールbrew install libSM再々度 python3 起動> import cv2>無事起動
2019年10月12日 raspberrypi4 Deep Learning 用セットアップ raspberrypi4 技適取得済みを購入した。Raspbian Buster Liteをヘッドレスセットアップ以下を参考にRaspbian Buster Liteをヘッドレスセットアップhttps://desertbot.io/blog/headless-raspberry-pi-4-ssh-wifi-setup 必要なモジュールをインストールpip のインストールsudo apt install python3-devsudo apt intasll python3-pip jupyter notebook インストールsudo pip3 install jupyterjupyter notebook --generate-configmkdir ~/notebooksvi .jupyter/jupyter_notebook_config.py> c.NotebookApp.ip = '*'> c.NotebookApp.notebook_dir = '/home/pi/notebooks'> c.NotebookApp.port = 8888> c.NotebookApp.open_browser = Falsejupyter の自動起動vi /etc/systemd/system/jupyter.service>>>>>[Unit]Description=Jupyter notebook[Service]PIDFile=/run/jupyter.pidExecStart=/usr/local/bin/jupyter-notebook --config=/home/pi/.jupyter/jupyter_notebook_config.pyUser=piGroup=piWorkingDirectory=/home/pi/notebooksType=simpleRestart=alwaysRestartSec=10[Install]WantedBy=multi-user.target>>>>>jupyter notebook passwordEnter password: ****Verify password: ****sudo systemctl enable jyupytertensorflow インストールsudo apt install libatlas-base-devpip3 install tensorflowkaras インストールpip3 install kerasopencv インストールsudo apt install libhd5-dev libhd5-serial-dev libhdf5-103sudo apt install libqtgui4 libqtwebkit4 libqt4-test python3-pyqt5sudo apt install libatlas-base-devsudo apt install libjasper-devsudo pip3 --default-timeout=1000 install opencv-pythonmatplotlib インストールpip3 install matplotlibpandas インストールpip3 install pandasPIL インストールpip3 install pillowscikit-learn インストールpip3 install scilkit-learnmecab インストールsudo apt install mecabsudo apt install mecab-ipadicpip3 install mecab-python3git インストールsudo apt install git git clone --depth 1 https://github.com/neologd/mecab-ipadic-neologd.gitcd mecab-ipadic-neologd./bin/install-mecab-ipadic-neologd -n -p /var/lib/mecab/dic/mecab-ipadic-neologdpy-videocore6 インストールpip3 install --user cythonpip3 install --user git+http://github.com/Idein/py-videocore6.gitgit clone https://github.com/Idein/py-videocore6.gitcd py-videocore6/python3 setup.py build_ext --inplacepip3 install --user nosenosetests -V -s