Giter Club home page Giter Club logo

dash-detr's Introduction

Dash DETR Detection App

A User Interface for DETR built with Dash. 100% Python. Click here for a demo.

The release of DETR: End-to-End Object Detection with Transformers showed significant improvement in real-time object detection and panoptic segmentation (PS), while greatly simplifying the architecture. As a mean to test the model, we decided to build a simple Dash app that let you experiment and play with the model through a user interface.

demo

Overview

  • The code is open-source and ready to be forked.
  • Everything is in pure Python - not a single line of HTML, CSS, or JavaScript required.
  • The app was written 200 lines of code (in addition to modelling), and only took a few hours.
  • From development to production in minutes with Dash Kubernetes - no need to spend hours figuring out deployment.

Usage

  1. Clone this repo:
git clone https://github.com/plotly/dash-detr
cd dash-detr
  1. Create a fresh venv (with conda or virtualenv) and activate it:
conda create -n dash-detr python=3.7
conda activate dash-detr
  1. Install the requirements:
pip install -r requirements.txt
  1. Start the app:
python app.py
  1. Try the app at localhost:8050!

Modifying or extending the app

To make it easy for you to extend the app by adding a custom model, we placed everything related to PyTorch and modeling in model.py, so you can add your own models without modifying the app. If you want to customize the layout or create new interactions, you can edit app.py (if you are not familiar with Dash, read the tutorials first.)

Productionizing Object Detection?

If you are interested in deploy apps like this one for production, check out our article on productionizing object detection models with Dash Enterprise, or reach out to us.

dash-detr's People

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.