Giter VIP home page Giter VIP logo

dup's Introduction

DUP Mobile Application

DUP-logo

Description

DUP is a virtual dressing room application for >= Android 6.0.

It allows users to see how an outfit will look on them by using image processing and a body pose estimation model.



Demo GIFs

demo-gif-1 demo-gif-2 demo-gif-3 demo-gif-4



How does it work ?

Add Outfit

DUP allows users to add their own outfit from gallery.
The selected outfit is processed according to a sensitivity rate given by the user.
User selects a category to store outfit.
The outfit stored in database.

Image processing methods to extract outfit given below;

  • Add alpha channel to image
  • Boolean Masking (Binary Threshold)
  • Noise Removal (Gaussian Blur)
  • Generate mask to make background transparent
  • Apply generated mask
  • Find largest contour to remove unnecessary area
  • Crop largest contour

Fit Outfit on Camera Preview

DUP uses a tensorflow-lite model to estimate certain points on user's body during camera preview.
By using these estimated points, the outfit is placed on screen by calculating its size and position.

The model estimates 14 points on user's body;
Top, Neck, Left Shoulder, Left Elbow, Left Wrist, Right Shoulder, Right Elbow, Right Wrist, Left Hip, Left Knee, Left Ankle, Right Hip, Right Knee, Right Ankle.

There are 4 outfit categories;
"Top", "Long Wears", "Trousers", "Shorts and Skirts"

According to its category, the outfit size and position are calculated by using;

  • Top --> Left Shoulder, Right Shoulder, Left Hip
  • Long Wears --> Left Shoulder, Right Shoulder, Left Knee
  • Trousers --> Left Hip, Right Hip, Left Ankle
  • Shorts and Skirts --> Left Hip, Right Hip, Left Knee



Software and Tools

  • Android Studio 3.2.1
  • TensorFlow-Lite
  • OpenCV 4.1
  • SQLite



Future Development

Functional

  • Users will be allowed to create outfit combinations
  • Users will be allowed to take screenshot during preview with a button

System

  • Semantic segmentation to extract outfit in a more efficient way
  • 3D modeling for a more realistic result

dup's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dup's Issues

Inquiry about TensorFlow Model Integration for Mobile Apps

I am currently working on a college project that involves integrating a TensorFlow model for image processing into both Android and iOS mobile applications. I am reaching out to inquire if anyone in the community has experience with this type of integration and if they would be willing to share any insights or tips.

Specifically, I am interested in learning about best practices for integrating TensorFlow models into mobile apps, optimizing their performance for mobile devices, and ensuring cross-platform compatibility between Android and iOS.

If you have any experience or advice related to this topic, I would greatly appreciate your input. Thank you for considering my inquiry.

Foot Module

Hello can u please ask me if i want to detect foot and add shoes on the foot its possible??

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.