Code Monkey home page Code Monkey logo

folding-demonstrations's Introduction

Folding demonstrations - wiki and code

This repository contains the home website and API for the Video Dataset of Human Demonstrations of Folding Clothing For Robotic Folding. The API gives easy access to the video dataset by providing an interface to query RGB images, depth frames, pose coordinates, subtask labels and multiple labelled annotations.

Detailed information can be found in the wiki.

alt text

Using the dataset and API

Requirements

The API of folding_demonstrations works on Python 3.6 and higher. This is because f-strings are used. The sole dependency is pillow which can be installed using pip install pillow.

Install

To install the package:

cd /path/to/folding_demonstrations
pip install . 

Or optionally pip install from the git repo:

pip install git+git://github.com/adverley/folding-demonstrations.git

Downloading the data

Download the data here and extract the files.

Running examples

To run the examples, cv2 and numpy will also need to be installed.

pip install opencv-python
pip install numpy

Run an example with following command:

python examples/play_sample.py '/home/to/the/data' --sample_id=43 --perspective='left' 

Usage

The dataset can be loaded with following commands:

from folding_demonstrations.dataset import FoldingDemonstrationDataSet

home_dir = '/data/media/folding_demonstrations'
dataset = FoldingDemonstrationDataSet(home_dir)

and data can be easily queried with for example data[sample_id][frame_nr]['left']['rgb'].

All the data that can be sampled can be seen in the example examples/query_all_data.py

Wiki

The project and code documentation can be found on this page. You can run the wiki yourself by running mkdocs serve in the root directory of this project.

The wiki is powered by MkDocs.

alt text

folding-demonstrations's People

Contributors

adverley avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.