How to Install TensorFlow Object Detection in 2020 (Webcam and Images!)
62.7 هزار بار بازدید -
4 سال پیش
-
Hey guys welcome back, Ben
Hey guys welcome back, Ben again! Today i'm going through the process step by step to get Google's TensorFlow Object Detection API working in 2020. If you've ever tried to do this before you've most likely followed sentdex's tutorials. While they are great and I personally use them, the object detection series is out of date in some places so I made this video using all the tips and tricks i've learned trying to make his tutorial work.
I've seen people have problems with jupyter, pycocotools, computer vision 2, tf_slim, protobuf, and more. I made sure to include all the fixes i've personally done so that others can hopefully fix their installations also.
pycocotools fix - 14:07
Run object detection on your local computer - 16:14
Using a webcam - 21:11
Install cv2 - 22:06
Commands:
o pip install TensorFlow==1.15 lxml pillow matplotlib jupyter contextlib2 cython tf_slim
o git clone https://github.com/tensorflow/models.git
o protoc object_detection/protos/*.proto --python_out=.
o python setup.py build
o python setup.py install
o pip install pycocotools (or) pip install git+https://github.com/philferriere/cocoa...^&subdirectory=PythonAPI
Websites Used:
Sentdex YouTube Channel: sentdex
Official TensorFlow Github: https://github.com/tensorflow/models
My Object Detection Github: https://github.com/Bengemon825/TF_Obj...
Protoc download page: https://github.com/protocolbuffers/pr...
cv2 download page: https://www.lfd.uci.edu/~gohlke/pytho...
I've seen people have problems with jupyter, pycocotools, computer vision 2, tf_slim, protobuf, and more. I made sure to include all the fixes i've personally done so that others can hopefully fix their installations also.
pycocotools fix - 14:07
Run object detection on your local computer - 16:14
Using a webcam - 21:11
Install cv2 - 22:06
Commands:
o pip install TensorFlow==1.15 lxml pillow matplotlib jupyter contextlib2 cython tf_slim
o git clone https://github.com/tensorflow/models.git
o protoc object_detection/protos/*.proto --python_out=.
o python setup.py build
o python setup.py install
o pip install pycocotools (or) pip install git+https://github.com/philferriere/cocoa...^&subdirectory=PythonAPI
Websites Used:
Sentdex YouTube Channel: sentdex
Official TensorFlow Github: https://github.com/tensorflow/models
My Object Detection Github: https://github.com/Bengemon825/TF_Obj...
Protoc download page: https://github.com/protocolbuffers/pr...
cv2 download page: https://www.lfd.uci.edu/~gohlke/pytho...
4 سال پیش
در تاریخ 1399/04/19 منتشر شده
است.
62,792
بـار بازدید شده