Create a Python Virtual Environment and install the following dependencies
Package Version
absl-py 1.2.0 appnope 0.1.3 argon2-cffi 21.3.0 argon2-cffi-bindings 21.2.0 astroid 2.12.9 asttokens 2.0.8 astunparse 1.6.3 attrs 22.1.0 backcall 0.2.0 beautifulsoup4 4.11.1 bleach 5.0.1 cachetools 5.2.0 certifi 2022.9.14 cffi 1.15.1 charset-normalizer 2.1.1 contourpy 1.0.5 cycler 0.11.0 debugpy 1.6.3 decorator 5.1.1 defusedxml 0.7.1 dill 0.3.5.1 entrypoints 0.4 executing 1.0.0 fastjsonschema 2.16.1 flatbuffers 2.0.7 fonttools 4.37.2 gast 0.4.0 google 3.0.0 google-auth 2.11.0 google-auth-oauthlib 0.4.6 google-cloud 0.34.0 google-pasta 0.2.0 grpcio 1.49.0 h5py 3.7.0 idna 3.4 ipykernel 6.15.3 ipython 8.5.0 ipython-genutils 0.2.0 ipywidgets 8.0.2 isort 5.10.1 jedi 0.18.1 Jinja2 3.1.2 jsonschema 4.16.0 jupyter 1.0.0 jupyter_client 7.3.5 jupyter-console 6.4.4 jupyter-core 4.11.1 jupyterlab-pygments 0.2.2 jupyterlab-widgets 3.0.3 keras 2.10.0 Keras-Preprocessing 1.1.2 kiwisolver 1.4.4 lazy-object-proxy 1.7.1 libclang 14.0.6 lxml 4.9.1 Markdown 3.4.1 MarkupSafe 2.1.1 matplotlib 3.6.0 matplotlib-inline 0.1.6 mccabe 0.7.0 mistune 2.0.4 mpmath 1.2.1 nbclient 0.6.8 nbconvert 7.0.0 nbformat 5.5.0 nest-asyncio 1.5.5 nose 1.3.7 notebook 6.4.12 numpy 1.23.3 oauthlib 3.2.1 opencv-python 4.6.0.66 opt-einsum 3.3.0 packaging 21.3 pandas 1.4.4 pandocfilters 1.5.0 parso 0.8.3 pathlib 1.0.1 pexpect 4.8.0 pickleshare 0.7.5 Pillow 9.2.0 pip 22.2.2 platformdirs 2.5.2 prometheus-client 0.14.1 prompt-toolkit 3.0.31 protobuf 4.21.6 psutil 5.9.2 ptyprocess 0.7.0 pure-eval 0.2.2 pyasn1 0.4.8 pyasn1-modules 0.2.8 pycparser 2.21 Pygments 2.13.0 pylint 2.15.2 pyparsing 3.0.9 pyrsistent 0.18.1 pyserial 3.5 python-dateutil 2.8.2 pytz 2022.2.1 pyzmq 24.0.0 qtconsole 5.3.2 QtPy 2.2.0 requests 2.28.1 requests-oauthlib 1.3.1 rsa 4.9 scipy 1.9.1 Send2Trash 1.8.0 setuptools 65.3.0 six 1.16.0 soupsieve 2.3.2.post1 stack-data 0.5.0 sympy 1.11.1 tensorboard 2.10.0 tensorboard-data-server 0.6.1 tensorboard-plugin-wit 1.8.1 tensorflow-estimator 2.10.0 tensorflow-macos 2.10.0 tensorflow-metal 0.6.0 termcolor 2.0.1 terminado 0.15.0 tinycss2 1.1.1 tomli 2.0.1 tomlkit 0.11.4 tornado 6.2 traitlets 5.4.0 typing_extensions 4.3.0 urllib3 1.26.12 wcwidth 0.2.5 webencodings 0.5.1 Werkzeug 2.2.2 wheel 0.37.1 widgetsnbextension 4.0.3 wrapt 1.14.1
Note: tensorflow-macos is the MAC OS alternative of tensorflow library. Use Tensorflow if you are using Windows OS.#
Make sure that the virtual environment is activated.
Change the port of arduino board in main.py
python main.py