Giter Site home page Giter Site logo

labelme-goldenberg's Introduction

labelMe

 

Gabriela Morgenshtern,Department of Cells and System Biology, University of Toronto, Canada. <[email protected]>
  1. About this package:
        1.1. Overview
        1.2. Installation
  2. Notes
  3. Acknowledgements

1 About this package:

1.1 Overview

labelMe is a package allowing clinicians with test image data that requires manual labeling (ex. ultrasounds) to easily spin up a local webapp to do so, protecting the data's privacy while enabling the interactive convenience of the browser as a platform for this task. This is particularly useful to those who work with image-labeling or -recognition algorithms.

 

1.2 Installation

Organize your imaging files in a single directory. Then, install the package, use its functions to set your desired labels and image repository filepath, and run your webapp locally!

require("devtools")
install_github("gabmorg/labelMe")
library("TestingPackage")

2 Notes - EDIT

To test functionality

  1. Save the following images to your local machine:
  2. Call r labelMe::serveMe(list("test label1", "test label2")) to launch the app (replacing the strings to whatever labels you'd like to apply to the images)
  3. Upload the files to the Shiny app using the file browser to the right; this will change the label of the radio button group to the name of the uploaded file
  • While in the code, the file browser allows for the upload of multiple files, this is not yet a functionality of the user interface of the app and will be resolved for the final submission
  1. Click the radio button
  2. Click "Save selected labels" to prepare the CSV for download
  3. Click "Download labels.csv" to download the CSV to your local machine.
  • While the download of the file is currently functional, the reactive addition of data during the "Save selected labels" interaction is not, and this will be fixed for the final version

 


3 Contributions

The author of this package is Gabriela Morgenshtern. The functions available within this package include:

library("labelMe")
lsf.str("package:labelMe")
  • serveMe : function (labelingList)

The above function, and the helper functions involved in running it were authored by Gabriela Morgenshtern, using the Shiny R package, and with help structuring the app from the Shiny tutorial found on steps 1-6 here: (https://shiny.rstudio.com/tutorial/)

Thanks to Dr. Boris Steipe for providing the skeleton setup for this package through his own template (https://github.com/hyginn/rpt), specific examples of his contribution are denoted in the code. Code for testing Shiny app was borrowed from a Shinytest tutorial by Ferand Dalatieh, specific examples of his contribution are denoted in the code. Starter code for the logic pertaining to saving dataframe information to CSV was found from Lisa DeBruine (https://gupsych.github.io/tquant/data-input.html)

The rest of the contribution is made by Gabriela.

 

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.