Coder Social home page Coder Social logo

retinav2_2's Introduction

RetinaV2

Faster and more simplified version of the CPU based retina

Requirements:

Python 3

Numpy

Cython

OpenCV

C++ compiler (Visual studio on windows / GCC on linux)

Instructions:

1) Run the "Generator - GUI.ipynb" notebook

2) Select the data type and number of bits used for each data type (if float is selected for the coefficients, the quantization bits will be ignored)

3) After selecting the desired types and number of bits, generate the configuration file. This file saves the data types and will be used in all future steps. Keep in mind only the configuration file is used, so if the settings are changed without generating a new configuration file, the changes will be discarded.

4) Convert the Cython template to a Cython extension. This will replace the placeholder data types with the types loaded from the configuration file.

5) Compile the Cython extension (functions.pyx). This should create the functions.pyd on windows and functions.so file on linux.

6) Select the data files for retina and cortex and generate arrays (some example data can be found at https://github.com/2332575Y/Retina which is a previous version of the CPU based software retina).

7) You can now run the demo or the performance benchmark.

Note: to use the pyramid demo, you MUST use float64 when generating the config. Dynamic typing is not supported for pyramids yet!

retinav2_2's People

Contributors

yours-schnee avatar

Watchers

 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.