- Install tensorflow_hub
pip install --upgrade tensorflow_hub
- clone git repository
git clone --depth 1 https://github.com/tensorflow/models
- Initializing the APIs
%%bash
sudo apt install -y protobuf-compiler
cd models/research/
protoc object_detection/protos/*.proto --python_out=.
cp object_detection/packages/tf2/setup.py .
python -m pip install .
for installing protobuf [on MAC]:
- Open Terminal and type the following
- PROTOC_ZIP=protoc-3.7.1-osx-x86_64.zip
- curl -OL https://github.com/google/protobuf/releases/download/v3.7.1/$PROTOC_ZIP
- sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
- rm -f $PROTOC_ZIP
- File Name hub_project_pretrained is pre-trained model
- File Name hub_project_ImageApplication is utilizing trained model to detect objects in our images.
- File Name hub_project_VideoApplication is utilizing trained model to detect objects in video using webcam.
Whatsapp: https://qrgo.page.link/TMiTp
YouTUBE: https://qrgo.page.link/wh5tq