GithubHelp home page GithubHelp logo

memoryrobber / 3d-virtual-fitting-room Goto Github PK

View Code? Open in Web Editor NEW

This project forked from monkog/3d-virtual-fitting-room

0.0 0.0 0.0 132.71 MB

Augmented reality fitting room. Allows the user to try on 3D models of clothes. Implemented using WPF 3D and Kinect SDK v.1.8.

C# 100.00%

3d-virtual-fitting-room's Introduction

๐Ÿ‘— 3D Virtual Fitting Room

Have you ever queued in a long line to a fitting room just to find out right after you put the clothes on that they don't suit you? With this application this will no longer be a problem. 3D Virtual Fitting Room lets you try on clothes right away and decide what you like the most.

How to use

The application requires a single Kinect for Windows device being plugged in. All actions in the application can be performed by hand gestures. User's right hand is the application cursor. In order to press a button, the user needs to hold his right hand for a short time over the button area.

Application screenshot

Used libraries and tools

Kinect SDK

The application is compatible with Kinect for Windows and was written using Microsoft.Kinect v.1.8.0.0 library. Kinect gathers different kinds of data:

  • audio - that can be used for speech recognition,
  • video - that is used for generating Skeleton and recognizing people,
  • depth information - that inform about the depth of the captured scene. Kinect emits infrared waves with a projector that are later captured by a sensor.

The application tracks just the video data, the audio and the depth streams are not being used in this application.

Helix 3D Toolkit

Helix 3D Toolkit is a great library for 3D graphics. It's available on Github. The library is simple to use. The repository contains a great number of examples and demos.

File formats

Each clothing item requires two files - obj and mtl.

*.obj

Obj files define the geometry of 3D objects. It's a text file format that contains information regarding:

  • vertex position,
  • UV position of a texture coordinate vertex,
  • vertex normals,
  • faces of polygons,
  • referenced materials (mtl files).

*.mtl

The abbreviation stands for Material Template Library. This file is a companion file format to obj files. It defines the surface shading properties. A single mtl file may contain multiple material definitions. Same as obj files, mtl files are text format files.

Materials are described using the Phong model. The file contains definition of:

  • ambient color,
  • diffuse color,
  • specular color,
  • transparency,
  • texture maps (for textured materials).

3d-virtual-fitting-room's People

Contributors

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