Giter Site home page Giter Site logo

pynq-ncs-yolo's Introduction

YOLO for PYNQ-Z1 and Intel/Movidius Neural Compute Stick (NCS)

This project is derived from yoloNCS and is intended to be used on the PYNQ-Z1 board.

alt text

Using this repo on your PYNQ-Z1

To use this code on your PYNQ-Z1, just follow these steps:

  1. Install NCSDK in API-mode on your PYNQ-Z1 as explained here: Setting up the PYNQ-Z1 for the Intel Movidius NCS

  2. Clone this repo onto your PYNQ-Z1 in this directory: /home/xilinx/jupyter_notebooks

  3. Boot the PYNQ-Z1, open Jupyter in a web browser (http://pynq:9090) and open one of the notebooks

News

  • Camera App is working.
  • YOLOv1 Tiny is working.

Protobuf Model files

./prototxt/

Download Pretrained Caffe Models to ./weights/

Compilation

  • Compile .prototxt and corresponding .caffemodel (with the same name) to get NCS graph file. For example: "mvNCCompile prototxt/yolo_tiny_deploy.prototxt -w weights/yolo_tiny_deploy.caffemodel -s 12"
  • The compiled binary file "graph" has to be in main folder after this step.

Single Image Script

  • Run "yolo_example.py" to process a single image. For example: "python3 py_examples/yolo_example.py images/dog.jpg" to get detections as below.

Camera Input Script

  • Run "object_detection_app.py" to process a videos from your camera. For example: "python3 py_examples/object_detection_app.py" to get camera detections as below.
  • Modify script arguments if needed.
  • Press "q" to exit app.

pynq-ncs-yolo's People

Contributors

gudovskiyd avatar fpgadeveloper avatar gudovskiy avatar

Watchers

James Cloos avatar Abraham Arce 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.