Coder Social home page Coder Social logo

xupsh / pynq-computervision Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xilinx/pynq-computervision

3.0 2.0 0.0 12.51 MB

Computer Vision Overlays on Pynq

License: Other

Jupyter Notebook 90.09% Python 0.18% Tcl 6.66% CMake 0.85% C++ 1.57% C 0.65%

pynq-computervision's Introduction

PYNQ - Computer Vision

All PYNQ releases ship with the popular OpenCV library pre-installed. The PYNQ computer vision overlays enable accelerating OpenCV components in Programmable Logic (PL). These overlays expose a subset Xilinx' xfOpenCV library (a part of Xilinx' reVISION solution) at the Python level, combined with the support for HDMI input/output. Note that webcam, stream or file based input/output remains available through the pre-installed SW OpenCV.

Currently, two overlays are available for the Pynq-Z1 board:

  • 2D filter & dilate: accelerated 3x3 2D filter and 3x3 dilate. Open the filter2d_and_dilate_example notebook for demo and more details.
  • 2D filter & remap: accelerated 3x3 2D filter and remap. Open the filter2d_and_remap_example notebook for demo and more details.

Quick Start

To install the computer vision overlay example on your Pynq-Z1 board (with the latest PYNQ-Z1 image), open a terminal and run:

$ sudo -H pip3.6 install --upgrade git+https://github.com/Xilinx/PYNQ-ComputerVision.git

After the setup, new Jupyter notebooks will be added under the computer_vision folder, ready to try out, no additional steps are needed.

Building Your Own Overlay

When after profiling, the critical OpenCV modules in an application are identified, the generation of a tailored overlay is easily done by specifying those modules as a list in a CMake project file. After that, building the tailored overlay only requires running cmake to generate the Makefiles followed by make to build the overlay.

For detailed instructions: Building xfOpenCV Overlays for Pynq: CMake based sds++ cross-compilation.

License

The source for this project is licensed under the 3-Clause BSD License

pynq-computervision's People

Contributors

jackl-xilinx avatar denolf avatar muradq-xilinx avatar xupsh avatar

Stargazers

Timothy avatar  avatar  avatar

Watchers

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