xyc2690 / Raspberry_ObjectDetection_Camera

Tensorflow ObjectDetectionAPI on Raspberry3B+, OpenCV, SSDmobile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raspberry_ObjectDetection_Camera

Tensorflow ObjectDetectionAPI on Raspberry3B+, OpenCV, SSDmobile

1.Download SSDmobile model and Install Tensorflow

# Install TF1.8.0
pip install tensorflow-1.8.0-cp27-none-linux_armv7l.whl

# Get model
tar -xzvf ssdlite_mobilenet_v2_coco_2018_05_09.tar.gz .

Link: TensorFlow on arm,

Link: SSD mobile,

Model Zoo

2.Install OpenCV for python

pip install opencv-python

3.Test

By default, you will open the camera, display the images captured.

Modify the code:

TEST_CAM_ONLY = False

And run the Object Detection Demo.

python opencv_camera.py

Have Fun with Raspi!

About

Tensorflow ObjectDetectionAPI on Raspberry3B+, OpenCV, SSDmobile


Languages

Language:Python 99.4%Language:Jupyter Notebook 0.4%Language:Shell 0.1%