Giter Site home page Giter Site logo

sewkinect's Introduction

SewKinect

Final Hackbright Project

SewKinect was inspired by an absense of basic pattern generation software for sewers. Pattern drafting is key to custom-fit garments and costumes and relies on a geometric understanding three-dimensional body curves. Traditionally, patterns are drafted for individuals on paper at full scale, a huge inconvenience of time and space. SewKinect aims to streamline bespoke pattern development by creating a digital pipeline from measurements to printable pdf slopers.

###Video Demo ScreenShot

SewKinect consists of a Kinect/PyGame app and a Flask application. The Kinect app posts scan data to the Flask server. SewKinect was developed on OSX 10.9 and the technology required is as follows:

  • libusb
  • libfreenect
  • OpenNI
  • SensorKinect
  • NITE
  • PyOpenNI
  • Flask
  • Jinja2
  • PyCairo
  • Numpy
  • Scipy

Also relies on default Python libraries listed below:

  • httplib
  • urllib
  • json
  • math
  • pickle
  • base64
  • datetime

Kinect Install Instructions

PLEASE NOTE: These are the install instructions for OS 10.9 and have not been updated for newer version of OSX. Some of the open source Kinect projects may no longer be maintained.

libusb

  homebrew libusb

libfreenect

  homebrew libfreenect

OpenNI - Available at https://mega.co.nz/#!Hc5kwAiZ!uJiLY4180QGXjKp7sze8S3eDVU71NHiMrXRq0TA7QpU

SensorKinect - git clone https://github.com/avin2/SensorKinect.git Uncompress Bin/SensorKinect093-Bin-MacOSX-v*tar.bz2.

 $ sudo ./install.sh.

NITE - Available at https://mega.co.nz/#!nZYwgJiQ!m091FXc4U6GwjRfpHK-puPvBjkHdWc6KmQH-_RzXfOw.

$ sudo ./install.sh.
$ cd ~/Kinect/nite-bin-macosx-v1.5.0.2/Data.
$ cp *.xml ../../SensorKinect/Data.

PyOpenNI -

$ git clone https://github.com/jmendeth/PyOpenNI.git
$  mkdir PyOpenNI-build
$  cd PyOpenNI-build
$ cmake ../PyOpenNI
$ cp openni.so .../python2.7/site-packages/

###For Install Reference: http://justinfx.com/2012/06/21/getting-started-with-xbox-360-kinect-on-osx/ http://developkinect.com/resource/mac-os-x/install-openni-nite-and-sensorkinect-mac-os-x http://blog.nelga.com/setup-microsoft-kinect-on-mac-os-x-10-9-mavericks/

###Important Directory Contents:

  • /app.py - main Flask applicaiton
  • /calculations.py - Kinect point cloud processing
  • /drafting.py - Cairo pattern drafting instructions
  • /kinect/kinect_obj.py - Kinect application
  • /kinect/ - also contains pickled Kinect data for proofing if a Kinect is not available
  • /static/JSON/ - standard US pattern sizes in JSON format
  • /static/patterns/ - PDF pattens are stored here

In order to get accurate measurements from the Kinect, users should stand ~5ft away from the camera with a clear foreground. Wearing tight clothing that constrasts the background also helps.

Have fun! Send questions or comments to @giantspatula on Twitter.

sewkinect's People

Contributors

giantspatula avatar

Stargazers

iluem avatar Abhishek Sisodiya avatar  avatar Andrew Potter avatar  avatar Steptian avatar Shivam Sinha avatar Sigvart Angel Hoel avatar  avatar nitzel avatar  avatar Mercedes Coyle avatar Pantelis Koukousoulas avatar Lauren avatar  avatar Wendy Dherin avatar Jessica McElroy avatar Kate Reese avatar Emily Bookstein avatar  avatar Larissa Muramoto avatar Florie Bustamante Coggins avatar Caroline Orsi avatar Heather Bryant avatar Lena avatar kate kuchin avatar Micki Balder avatar Julie Hollek avatar Allyson Stronach avatar

Watchers

Jake Kaufman avatar Daniel Margulies avatar  avatar Mihai Bujanca avatar  avatar  avatar

sewkinect's Issues

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.