Top Ad unit 728 × 90


Install Tensorflow API and example for Object Detection

          Hi guys, I'm going to show you how to install Tensorflow on your Windows PC. Then we will use the Object detection API as an example of object recognition.

          The software required before installation: Python 64bit + PIP




Step 1: Use PIP settings tensorflow. If you have not installed PIP then you need to install PI first.
- PIP will be located in ~ / Python35 / Scrpits / [Example:C:\Users\h2phamth\AppData\Local\Programs\Python\Python35\Scripts]
-Command:
# For CPU
pip install tensorflow
# For GPU
pip install tensorflow-gpu
     

Step 2: Download the source code model on github and the protocol code then unpack it
Link model: https://github.com/tensorflow/models/
Link protol: https://github.com/google/protobuf/releases

Step 3: Perform the installation
# Từ tensorflow/models/research/
protoc object_detection/protos/*.proto --python_out=.


Step 4: User jupyter to open exiting example.


Bước 5: Open file exiting at: (C:\tensorflow\models-master\research\object_detection\object_detection_tutorial.ipynb) then convert to format .py

Step 6: Modify some sample code to use Camera or internal video.
Video:


You can subcribe Youtube and website to follow more post.

COCO-trained models {#coco-models}: You can use best one which suitable with your program

Model nameSpeed (ms)COCO mAP[^1]Outputs
ssd_mobilenet_v1_coco3021Boxes
ssd_inception_v2_coco4224Boxes
faster_rcnn_inception_v2_coco5828Boxes
faster_rcnn_resnet50_coco8930Boxes
faster_rcnn_resnet50_lowproposals_coco64Boxes
rfcn_resnet101_coco9230Boxes
faster_rcnn_resnet101_coco10632Boxes
faster_rcnn_resnet101_lowproposals_coco82Boxes
faster_rcnn_inception_resnet_v2_atrous_coco62037Boxes
faster_rcnn_inception_resnet_v2_atrous_lowproposals_coco241Boxes
faster_rcnn_nas183343Boxes
faster_rcnn_nas_lowproposals_coco

Kitti-trained models {#kitti-models}

Model nameSpeed (ms)Pascal mAP@0.5 (ms)Outputs
faster_rcnn_resnet101_kitti7987Boxes

Open Images-trained models {#open-images-models}

Model nameSpeed (ms)Open Images mAP@0.5[^2]Outputs
faster_rcnn_inception_resnet_v2_atrous_oid72737Boxes
faster_rcnn_inception_resnet_v2_atrous_lowproposals_oid347Boxe


Install Tensorflow API and example for Object Detection Reviewed by Jacky on December 10, 2017 Rating: 5

3 comments:

  1. Thank you for the kind guide, but is it possible to remove the square line of a detected object? If it is possible and you know how to do it, could you let me know through an email at icatching@naver.com?

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Hello! sorry i am an Amateur for image detection... can u please elaborate for me whether or not dedicated graphics on my PC is must OR not for this project?

    ReplyDelete

All Rights Reserved by JackyLe © 2018 © 2017
Edit bởi: Jacky Le | Youtube Channel: JACKY LE

Send email form

Name

Email *

Message *

Powered by Blogger.