Giter Site home page Giter Site logo

dl-demo-app's Introduction

Demo Application using Python Visual API

This repo contains:

  1. Visual API package is a set of wrapper classes for particular tasks and model architectures, simplifying data preprocess and postprocess as well as routine procedures (model loading, synchronous execution, etc...). An application feeds model class with input data, then the model returns postprocessed output data in user-friendly format. More information see this.

  2. demo_application.py - an application that solves one of the following computer vision tasks:

    • classification
    • object_detection
    • segmentation

Usage

To run demo_application next the following steps:

  1. Install visual api package:
  python -m venv ml_env
  source ml_env/bin/activate
  python -m pip install -e visual_api_lib/
  1. Run demo with needed options:
  python demo_application.py [options]

NOTE: For example was created classification_demo to solve classification task.

Task for students

Main task:

Realize demo application to solve object_detection task. To do it you should perform next steps:

  • Choose a DL model for your solution.
  • Create model wrapper with pre- and postprocessing operations.
  • Choose launcher for model inference. You can choose available launchers from package (onnx or tflite) or create new launcher for another framework.
  • Create demo based on updated visual_api (which contains new classes needed to solve object_detection task)

(Optional) Additional tasks

  1. Compare performance of your demo on different launchers(backends). Hint: use PerformanceMetrics from common part of visual_api package.
  2. Formalize visualization part as separated class or module (maybe as part of visual_api).

dl-demo-app's People

Contributors

akorobeinikov 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.