Giter VIP home page Giter VIP logo

najann / cv-training-assets Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 56.67 MB

This repository contains a couple of notebooks and small applications to demonstrate computer vision topics.

Dockerfile 0.09% Python 0.74% Smarty 0.17% Shell 0.07% CSS 0.48% Jupyter Notebook 65.19% HTML 33.00% JavaScript 0.08% Makefile 0.02% Jinja 0.16% Procfile 0.01%
bentoml demo python3 computer-vision yolov3 rcnn pyramid flask bottle docker

cv-training-assets's Introduction

CV Training Assets

Note: The code in this repository is not maintained anymore.

This repository contains some demo applications accompanying the lectures by Björn Schmitz at the KIT. There is a specific ReadMe for each demo in the corresponding subfolder. Therefore, this ReadMe is targeted at providing some general insights and experience gained during the development of computer vision demos.

I concentrated on using the currently most popular libraries, namely PyTorch, Keras resp. Tensorflow and OpenCV.

BentoML

"BentoML is an open-source framework for high-performance machine learning model serving." (BentoML) It facilitates deployment-related, preparative and operative tasks in the field of ML models. Conveniently, BentoML even produces a Dockerfile which you can use to containerize your model and provide an easy API.

Flask vs. Bottle vs. Pyramid

General Structure of the demo apps

The typical functioning of the apps is as follows:

If a users comes to the landing page (/) the model is loaded if needed. Once an image was chosen (and threshold/confidence set), it is send via a form POST request to the app, which reads the image data into memory and preprocesses it. Then, the image is fed into the model. Once the predictions are ready, they are marked in the image with rectangles and the assemblage is (optimized and) stored in the container. The result view displays this image and by clicking on it, a user could download it. If the user returns to the home page using the button below the image, the latter will be deleted to free up some space.

cv-training-assets's People

Contributors

dependabot[bot] avatar najann avatar

Watchers

 avatar  avatar

cv-training-assets's Issues

Remove predicted images

I need to find a way to delete the output images regularly so that they don't mess up the container.
Maybe using session data?
Alternatively, a cron job?

Hello! Yolo v3 in Watson Studio

I wanted to ask if it was possible for you to run Yolo in watson studio?

If it was possible, what was the bibliography, and if not, the reasons, if it is not a bother.

Thx!

Add parameter selection to UI

  • give users the possibility to change the values for threshold & confidence
  • keep default values
  • find example images where different values produce different predictions

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.