Updated: 2020-08-27
Create Environment
Change myenv to whatever name you like. Don't forget to change it in other places of the code.
conda create -n myenv
python
Activate Environment
conda activate myenv
Install TensorFlow
pip install tensorflow
Install other needed libraries
pip install Cython
pip install contextlib2
pip install pillow
pip install lxml
pip install jupyter
pip install matplotlib
Copy protoc binary into environment bin directory
cp ~/Downloads/protoc-3.12.4-osx-x86_64/bin/protoc /opt/anaconda3/envs/myenv/bin/
Copy includes contents into environment includes directory
cp ~/Downloads/protoc-3.12.4-osx-x86_64/include/* /opt/anaconda3/envs/myenv/include/
Copy protoc binary into environment bin directory
cp ~/Downloads/protoc-3.12.4-osx-x86_64/bin/protoc /opt/anaconda3/envs/myenv/bin/
Copy includes contents into environment includes directory
cp ~/Downloads/protoc-3.12.4-osx-x86_64/include/* /opt/anaconda3/envs/myenv/include/
Clone GitHub stea4lth/TensorFlow-AI-Simple-Object-Detection-Webcam Repository
git clone https://github.com/stea4lth/TensorFlow-AI-Simple-Object-Detection-Webcam.git
Clone GitHub stea4lth/TensorFlow-AI-Simple-Object-Detection-Webcam Repository
git clone https://github.com/stea4lth/TensorFlow-AI-Simple-Object-Detection-Webcam.git
Copy protoc binary into environment bin directory
cp ~/Downloads/protoc-3.12.4-osx-x86_64/bin/protoc /opt/anaconda3/envs/myenv/bin/
Copy includes contents into environment includes directory
cp ~/Downloads/protoc-3.12.4-osx-x86_64/include/* /opt/anaconda3/envs/myenv/include/