GithubHelp home page GithubHelp logo

0d3ng / tensorflow-yolo-v3-pi Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5.52 MB

Sampel application openvino using YOLO V3

Home Page: https://www.sinaungoding.com/

Python 100.00%
openvino raspberry-pi-3 tensorflow yolov3

tensorflow-yolo-v3-pi's Introduction

tensorflow-yolo-v3-pi

Sample application openvino using YOLO V3

How to running application

  • wget https://raw.githubusercontent.com/pjreddie/darknet/master/data/coco.names
  • wget https://pjreddie.com/media/files/yolov3.weights
  • wget https://pjreddie.com/media/files/yolov3-tiny.weights (optional)
  • python3 ./convert_weights_pb.py --data_format NHWC (optional)
  • python3 ./convert_weights.py --data_format NHWC
  • python3 demo.py --input_img ~/Desktop/OpenVINO-YOLO3-input.jpeg --output_img ~/Desktop/OpenVINO-YOLO3-output.jpeg --data_format NHWC

Input Image
Input image

Output Image
Output Image

Convert Model YOLO V3 to Model Inference

In this step must openvino installed in your pc/laptop

  • cd /opt/intel/openvino/deployment_tools/model_optimizer
  • /mo_tf.py --input_model ~/PycharmProjects/tensorflow-yolo-v3-pi/frozen_darknet_yolov3_model.pb --tensorflow_use_custom_operations_config ../../deployment_tools/model_optimizer/extensions/front/tf/yolo_v3.json -o ~/PycharmProjects/tensorflow-yolo-v3-pi --data_type FP16 --batch 1

Running Model Inference in Raspberry Pi 3B+ using NCS2

  • python3 openvino_yolov3.py -d MYRIAD -i frozen_darknet_yolov3_model.xml

Result
Result

tensorflow-yolo-v3-pi's People

Contributors

0d3ng avatar

Stargazers

fan ka avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.