Coder Social home page Coder Social logo

angusg / groundtruth_webapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from evegeris/groundtruth_webapp

0.0 3.0 0.0 31.08 MB

Web app for groundtruthing ML datasets

Python 13.30% CSS 50.27% Ruby 0.29% PowerShell 0.13% JavaScript 25.58% HTML 10.33% Mako 0.06% Nginx 0.05%

groundtruth_webapp's Introduction

Web app based on rdash-angular example

![Gitter](https://badges.gitter.im/Join Chat.svg)

Folder structure:

Full Installation Instructions (Ubuntu 14.04)

    1. Install git
  • $sudo apt-get update
  • $sudo apt-get install git
    1. Clone Repository
  • git clone https://github.com/evegeris/groundtruth_webapp.git
    1. Get pip
  • apt-get install python-pip
    1. Get nodejs
  • apt-get install nodejs
    1. Get npm
  • apt-get install npm
    1. Get python developer (What python version are you using?)
  • apt-get install python-dev
  • apt-get install libpq-dev python-dev
    1. Get Flask
  • apt-get install Flask - (This didn't work, also is there a particular version we need?)
    1. Get bower
  • npm install -g bower
    1. Get mysql-server
  • apt-get update
  • apt-get install mysql-server
  • mysql_secure_installation
  • mysql_install_db
    1. Set up a blank db in mysql titled 'groundtruth_db'
  • mysql -u root -p
  • CREAT DATABASE groundtruth_db;
    1. Delete 'migrations' folder if present
    1. Install additional pip requirements
  • pip install -r requirements.txt
    1. Initialize Database
  • python db.py db init
  • python db.py db migrate
  • python db.py db upgrade
    1. Run the program
  • python run.py

OpenCV version?

client

  • original RDash front-end
  • build and run development server by entering this directory and doing
  • gulp build && gulp
  • Live example of the original RDash dashboard.

app

  • Python Flask used to serve static content (html, css, etc.)
  • Front-end + back-end
  • from the root directory, do
  • pip install -r requirements.txt
  • python db.py db init
  • python db.py db migrate
  • python db.py db upgrade
  • python run.py
  • More details here (this example also uses Protractor)

Usage

Requirements

Installation

  1. Clone the repository: git clone https://github.com/evegeris/groundtruth_webapp.git
  2. Install the NodeJS dependencies: npm install.
  3. Install the Bower dependencies: bower install.
  4. Run the gulp build task: gulp build.
  5. Run the gulp default task: gulp. This will build any changes made automatically, and also run a live reload server on http://localhost:8888.

Development

Continue developing the dashboard further by editing the src directory. With the gulp command, any file changes made will automatically be compiled into the specific location within the dist directory.

New Features

  1. Custom Draw Each Point on a Grid
  2. An automation example for drawing a polygon (triangle)
  3. An example of how to read in a JSON file
  4. An automation method that will draw ANY polygon from a JSON file

Modules & Packages

TO add additional modules/packages not included with rdash-angular, add them to bower.json and then update index.html, to include them in the minified distribution output.

rdash-angular credits

groundtruth_webapp's People

Contributors

angusg avatar evegeris avatar gallowaa avatar madisonmccarthy avatar mccarthymadison avatar

Watchers

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